Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix selection not working when clicking on public link and android app does a cold start

ashilkn788d3b979a92
diff --git a/mobile/lib/ui/viewer/gallery/component/gallery_file_widget.dart b/mobile/lib/ui/viewer/gallery/component/gallery_file_widget.dart
index 35d9cd3fa2..f7e37f8c54 100644
--- a/mobile/lib/ui/viewer/gallery/component/gallery_file_widget.dart
+++ b/mobile/lib/ui/viewer/gallery/component/gallery_file_widget.dart
@@ -152,8 +152,7 @@ class GalleryFileWidget extends StatelessWidget {
void _onLongPressNoSelectionLimit(BuildContext context, EnteFile file) {
if (selectedFiles!.files.isNotEmpty) {
_routeToDetailPage(file, context);
- } else if (AppLifecycleService.instance.mediaExtensionAction.action ==
- IntentAction.main) {
+ } else {
HapticFeedback.lightImpact();
_toggleFileSelection(file);
}