Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] hide "add photos" for deeplinks, will implement after v1

Aman Raj Singh Mourya86b70ab03439
diff --git a/mobile/lib/models/gallery_type.dart b/mobile/lib/models/gallery_type.dart
index 893ab302d6..0815e02ea5 100644
--- a/mobile/lib/models/gallery_type.dart
+++ b/mobile/lib/models/gallery_type.dart
@@ -295,9 +295,6 @@ extension GalleryAppBarExtn on GalleryType {
this == GalleryType.hiddenOwnedCollection) {
return true;
}
- if (this == GalleryType.sharedPublicCollection && c!.isEnableCollect()) {
- return true;
- }
if (this == GalleryType.sharedCollection) {
return c?.getRole(userID) == CollectionParticipantRole.collaborator;
}