From 86b70ab03439f67f32afbe43570bd506957d690f Mon Sep 17 00:00:00 2001 From: Aman Raj Singh Mourya Date: Wed, 9 Oct 2024 14:41:04 +0530 Subject: [PATCH] [mob][photos] hide "add photos" for deeplinks, will implement after v1 --- mobile/lib/models/gallery_type.dart | 3 --- 1 file changed, 3 deletions(-) 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; }