Skip to content

Commit b2dd3f5

Browse files
committed
wip home: Add combined feed to bottom nav bar; TODO test
Fixes #1164.
1 parent 28b3536 commit b2dd3f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/widgets/home.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,15 @@ class _HomePageState extends State<HomePage> {
101101
// TODO(a11y): add tooltips for these buttons
102102
final navigationBarButtons = [
103103
button(_HomePageTab.inbox, ZulipIcons.inbox),
104+
_NavigationBarButton( icon: ZulipIcons.message_feed,
105+
selected: false,
106+
onPressed: () => Navigator.push(context,
107+
MessageListPage.buildRoute(context: context,
108+
narrow: const CombinedFeedNarrow()))),
104109
button(_HomePageTab.channels, ZulipIcons.hash_italic),
105110
// TODO(#1094): Users
106111
button(_HomePageTab.directMessages, ZulipIcons.user),
107-
_NavigationBarButton( icon: ZulipIcons.menu,
112+
_NavigationBarButton( icon: ZulipIcons.menu,
108113
selected: false,
109114
onPressed: () => _showMainMenu(context, tabNotifier: _tab)),
110115
];

0 commit comments

Comments
 (0)