Skip to content

Commit

Permalink
nav: Add a button for MentionsNarrow.
Browse files Browse the repository at this point in the history
Fixes #250.

Signed-off-by: Zixuan James Li <[email protected]>
  • Loading branch information
PIG208 committed Jul 17, 2024
1 parent 6bd664f commit 39cf1e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/widgets/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,12 @@ class HomePage extends StatelessWidget {
narrow: const CombinedFeedNarrow())),
child: Text(zulipLocalizations.combinedFeedPageTitle)),
const SizedBox(height: 16),
ElevatedButton(
onPressed: () => Navigator.push(context,
MessageListPage.buildRoute(context: context,
narrow: const MentionsNarrow())),
child: Text(zulipLocalizations.mentionsPageTitle)),
const SizedBox(height: 16),
ElevatedButton(
onPressed: () => Navigator.push(context,
InboxPage.buildRoute(context: context)),
Expand Down

0 comments on commit 39cf1e0

Please sign in to comment.