diff --git a/lib/constants/global_keys.dart b/lib/constants/global_keys.dart index 89d2c72..5b5dcc4 100644 --- a/lib/constants/global_keys.dart +++ b/lib/constants/global_keys.dart @@ -8,5 +8,4 @@ class ScaffoldMessengerKeys { static final tags = GlobalKey(); static final addBookmark = GlobalKey(); static final filteredBookmarks = GlobalKey(); - static final webview = GlobalKey(); } diff --git a/lib/screens/webview/ui/webview.dart b/lib/screens/webview/ui/webview.dart index 4e06c41..35c7116 100644 --- a/lib/screens/webview/ui/webview.dart +++ b/lib/screens/webview/ui/webview.dart @@ -111,7 +111,7 @@ class WebViewScreen extends HookConsumerWidget { ), PopupMenuItem( onTap: () => copyToClipboard( - key: ScaffoldMessengerKeys.webview, + key: ScaffoldMessengerKeys.root, value: bookmark.url!, successMessage: t.webview.linkCopiedClipboard, ),