Skip to content

Commit

Permalink
fix: repo item link
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Sep 11, 2019
1 parent 06ea007 commit b610af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/repo_item.dart
Expand Up @@ -124,14 +124,14 @@ class RepoItem extends StatelessWidget {
);

if (inRepoScreen) {
return widget;
} else {
// TODO: text style
return Link(
screenBuilder: (_) =>
RepoScreen(payload['owner']['login'], payload['name']),
child: widget,
);
} else {
return widget;
}
}
}

0 comments on commit b610af4

Please sign in to comment.