diff --git a/lib/ui/screens/mailbox_list_screen.dart b/lib/ui/screens/mailbox_list_screen.dart index 47fc231..672cda6 100644 --- a/lib/ui/screens/mailbox_list_screen.dart +++ b/lib/ui/screens/mailbox_list_screen.dart @@ -51,10 +51,12 @@ class MailboxListScreen extends ConsumerWidget { ? BottomAppBar( child: Row( children: [ - IconButton( - icon: const Icon(Icons.menu), - tooltip: 'Open folders', - onPressed: () => Scaffold.of(context).openDrawer(), + Builder( + builder: (ctx) => IconButton( + icon: const Icon(Icons.menu), + tooltip: 'Open folders', + onPressed: () => Scaffold.of(ctx).openDrawer(), + ), ), ], ),