diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/app_bar_title.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/app_bar_title.dart index 604c64a2..4d40cad4 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/app_bar_title.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/app_bar_title.dart @@ -8,12 +8,12 @@ class AppBarTitle extends StatelessWidget { final TabState tab; final void Function()? onTap; - final void Function()? onDoubleTap; + final void Function()? onLongPress; const AppBarTitle({ required this.tab, this.onTap, - this.onDoubleTap, + this.onLongPress, super.key, }); @@ -42,7 +42,7 @@ class AppBarTitle extends StatelessWidget { final theme = Theme.of(context); return GestureDetector( onTap: onTap, - onDoubleTap: onDoubleTap, + onLongPress: onLongPress, child: Row( children: [ Skeletonizer( diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart index dd40b483..1663ad02 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart @@ -61,7 +61,7 @@ class BrowserBottomAppBar extends HookConsumerWidget { extra: tabState, ); }, - onDoubleTap: () async { + onLongPress: () async { final newUrl = await showDialog( context: context, builder: