From cf8541024dfe18559b2c24bcf74d753d498c83f9 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Wed, 12 Jun 2024 14:19:08 +0200 Subject: [PATCH] add bang menu item --- .../search_browser/presentation/screens/browser.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/lib/features/search_browser/presentation/screens/browser.dart b/app/lib/features/search_browser/presentation/screens/browser.dart index 5134ba6b..0d83531a 100644 --- a/app/lib/features/search_browser/presentation/screens/browser.dart +++ b/app/lib/features/search_browser/presentation/screens/browser.dart @@ -135,7 +135,14 @@ class KagiScreen extends HookConsumerWidget { leadingIcon: const Icon(Icons.settings), child: const Text('Settings'), ), - if (showEarlyAccessFeatures) const Divider(), + const Divider(), + MenuItemButton( + onPressed: () async { + await context.push(BangRoute().location); + }, + leadingIcon: const Icon(MdiIcons.exclamationThick), + child: const Text('Bangs'), + ), if (showEarlyAccessFeatures) MenuItemButton( onPressed: () async {