Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions lib/screens/item/widgets/more_popup_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,22 @@ class MorePopupMenu extends StatelessWidget {
),
onTap: () => context.pop(MenuAction.block),
),
ListTile(
leading: const Icon(
Icons.open_in_browser,
),
title: const Text('View in Browser'),
onTap: () {
context.pop();
final String url =
'${Constants.hackerNewsItemLinkPrefix}${item.id}';
LinkUtils.launch(
url,
context,
shouldUseHackiForHnLink: false,
);
},
),
ListTile(
leading: const Icon(Icons.close),
title: const Text(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: hacki
description: A Hacker News client.
version: 3.6.2+362
version: 3.6.3+363
publish_to: none

environment:
Expand Down