Skip to content

Commit 73fd816

Browse files
committed
reorganize menus
1 parent cb6cb2b commit 73fd816

File tree

2 files changed

+235
-213
lines changed

2 files changed

+235
-213
lines changed

app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,6 @@ class BrowserBottomAppBar extends HookConsumerWidget {
349349
leadingIcon: const Icon(Icons.settings),
350350
child: const Text('Settings'),
351351
),
352-
MenuItemButton(
353-
onPressed: () async {
354-
await const HistoryRoute().push(context);
355-
},
356-
leadingIcon: const Icon(Icons.history),
357-
child: const Text('History'),
358-
),
359352
Consumer(
360353
builder: (context, childRef, child) {
361354
final browserExtensions = childRef.watch(
@@ -437,6 +430,13 @@ class BrowserBottomAppBar extends HookConsumerWidget {
437430
),
438431
),
439432
const Divider(),
433+
MenuItemButton(
434+
onPressed: () async {
435+
await const HistoryRoute().push(context);
436+
},
437+
leadingIcon: const Icon(Icons.history),
438+
child: const Text('History'),
439+
),
440440
MenuItemButton(
441441
onPressed: () async {
442442
await BookmarkListRoute(

0 commit comments

Comments
 (0)