Skip to content

armgit / ente

Public Imported from GitHub
0

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

Don't show delete on public collection

laurenspriem5ee23118ff76
diff --git a/mobile/lib/models/gallery_type.dart b/mobile/lib/models/gallery_type.dart
index 9b6b614695..a128757afe 100644
--- a/mobile/lib/models/gallery_type.dart
+++ b/mobile/lib/models/gallery_type.dart
@@ -105,7 +105,6 @@ extension GalleyTypeExtension on GalleryType {
switch (this) {
case GalleryType.ownedCollection:
case GalleryType.sharedCollection:
- case GalleryType.sharedPublicCollection:
case GalleryType.searchResults:
case GalleryType.homepage:
case GalleryType.favorite:
@@ -121,6 +120,7 @@ extension GalleyTypeExtension on GalleryType {
case GalleryType.magic:
return true;
case GalleryType.trash:
+ case GalleryType.sharedPublicCollection:
return false;
}
}