Skip to content

Commit d74633e

Browse files
committed
nav: Add a button for MentionsNarrow.
Fixes #250. Signed-off-by: Zixuan James Li <[email protected]>
1 parent f466eda commit d74633e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/widgets/app.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,12 @@ class HomePage extends StatelessWidget {
276276
narrow: const CombinedFeedNarrow())),
277277
child: Text(zulipLocalizations.combinedFeedPageTitle)),
278278
const SizedBox(height: 16),
279+
ElevatedButton(
280+
onPressed: () => Navigator.push(context,
281+
MessageListPage.buildRoute(context: context,
282+
narrow: const MentionsNarrow())),
283+
child: Text(zulipLocalizations.mentionsPageTitle)),
284+
const SizedBox(height: 16),
279285
ElevatedButton(
280286
onPressed: () => Navigator.push(context,
281287
InboxPage.buildRoute(context: context)),

0 commit comments

Comments
 (0)