Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Add more gallery types to show 'archive' in selection sheet

ashilknbd0c35f64f09
diff --git a/mobile/lib/models/gallery_type.dart b/mobile/lib/models/gallery_type.dart
index 4139d69bab..bff3a6c312 100644
--- a/mobile/lib/models/gallery_type.dart
+++ b/mobile/lib/models/gallery_type.dart
@@ -172,20 +172,20 @@ extension GalleyTypeExtension on GalleryType {
case GalleryType.homepage:
case GalleryType.uncategorized:
case GalleryType.quickLink:
+ case GalleryType.searchResults:
+ case GalleryType.locationTag:
+ case GalleryType.magic:
+ case GalleryType.peopleTag:
return true;
case GalleryType.hiddenSection:
- case GalleryType.peopleTag:
case GalleryType.hiddenOwnedCollection:
case GalleryType.favorite:
- case GalleryType.searchResults:
case GalleryType.archive:
case GalleryType.localFolder:
case GalleryType.trash:
case GalleryType.sharedCollection:
- case GalleryType.locationTag:
case GalleryType.cluster:
- case GalleryType.magic:
return false;
}
}