π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix lint
Neeraj Guptac9875f70421f
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart b/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dartindex 12e3e77124..b4edf81c76 100644--- a/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/file_bottom_bar.dart@@ -194,15 +194,15 @@ class FileBottomBarState extends State<FileBottomBar> {);}- final bool canShowSuggestDelete = flagService.internalUser &&+ final bool canShowSuggestDelete = collection != null &&+ flagService.internalUser &&isInSharedCollection &&canSuggestDeleteForFile(file: widget.file,collection: collection,- ) &&- collection != null;+ );- if (canShowSuggestDelete && collection != null) {+ if (canShowSuggestDelete) {children.add(_buildSuggestDeleteButton(collection));}