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

This commit is contained in:
Aman Raj Singh Mourya
2024-10-09 14:41:04 +05:30
parent 6ea51a70f5
commit 86b70ab034

View File

@@ -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;
}