Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mobile][photos] Remove unused global keys (#1309)

Ashil8b643549fee0
diff --git a/mobile/lib/ui/tabs/home_widget.dart b/mobile/lib/ui/tabs/home_widget.dart
index 1cc8ad754a..561b1f4ba1 100644
--- a/mobile/lib/ui/tabs/home_widget.dart
+++ b/mobile/lib/ui/tabs/home_widget.dart
@@ -80,7 +80,6 @@ class _HomeWidgetState extends State<HomeWidget> {
final _logger = Logger("HomeWidgetState");
final _selectedFiles = SelectedFiles();
- final GlobalKey shareButtonKey = GlobalKey();
final PageController _pageController = PageController();
int _selectedTabIndex = 0;
diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index 539cbc1825..1026bd7fd4 100644
--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -86,7 +86,6 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
late Function() _selectedFilesListener;
String? _appBarTitle;
late CollectionActions collectionActions;
- final GlobalKey shareButtonKey = GlobalKey();
bool isQuickLink = false;
late bool isInternalUser;
late GalleryType galleryType;