Skip to content

Commit d0b3abb

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

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
@@ -283,6 +283,12 @@ class HomePage extends StatelessWidget {
283283
narrow: const MentionsNarrow())),
284284
child: Text(zulipLocalizations.mentionsPageTitle)),
285285
const SizedBox(height: 16),
286+
ElevatedButton(
287+
onPressed: () => Navigator.push(context,
288+
MessageListPage.buildRoute(context: context,
289+
narrow: const StarredMessagesNarrow())),
290+
child: Text(zulipLocalizations.starredMessagesPageTitle)),
291+
const SizedBox(height: 16),
286292
ElevatedButton(
287293
onPressed: () => Navigator.push(context,
288294
InboxPage.buildRoute(context: context)),

0 commit comments

Comments
 (0)