Skip to content

Commit

Permalink
inbox: Add "Inbox" page
Browse files Browse the repository at this point in the history
Fixes: #117
  • Loading branch information
chrisbobbe committed Nov 18, 2023
1 parent 43403b1 commit 9ffafdd
Show file tree
Hide file tree
Showing 6 changed files with 832 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/widgets/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'package:flutter_gen/gen_l10n/zulip_localizations.dart';
import '../model/localizations.dart';
import '../model/narrow.dart';
import 'about_zulip.dart';
import 'inbox.dart';
import 'login.dart';
import 'message_list.dart';
import 'page.dart';
Expand Down Expand Up @@ -254,6 +255,11 @@ class HomePage extends StatelessWidget {
narrow: const AllMessagesNarrow())),
child: const Text("All messages")),
const SizedBox(height: 16),
ElevatedButton(
onPressed: () => Navigator.push(context,
InboxPage.buildRoute(context: context)),
child: const Text("Inbox")), // TODO(i18n)
const SizedBox(height: 16),
ElevatedButton(
onPressed: () => Navigator.push(context,
RecentDmConversationsPage.buildRoute(context: context)),
Expand Down
Loading

0 comments on commit 9ffafdd

Please sign in to comment.