Skip to content

Commit c6cf517

Browse files
committed
nav: Add a button for starred messages page.
Signed-off-by: Zixuan James Li <[email protected]>
1 parent b6d8f03 commit c6cf517

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/widgets/app.dart

+6
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ class HomePage extends StatelessWidget {
282282
narrow: const MentionsNarrow())),
283283
child: Text(zulipLocalizations.mentionsPageTitle)),
284284
const SizedBox(height: 16),
285+
ElevatedButton(
286+
onPressed: () => Navigator.push(context,
287+
MessageListPage.buildRoute(context: context,
288+
narrow: const StarredMessagesNarrow())),
289+
child: Text(zulipLocalizations.starredMessagesPageTitle)),
290+
const SizedBox(height: 16),
285291
ElevatedButton(
286292
onPressed: () => Navigator.push(context,
287293
InboxPage.buildRoute(context: context)),

0 commit comments

Comments
 (0)