π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
refactor: Remove redundant sharedMmdVersion check in hasShareePinned
Prateek Sunald502d2a68302
diff --git a/mobile/apps/photos/lib/models/collection/collection.dart b/mobile/apps/photos/lib/models/collection/collection.dartindex dd739cfb60..653e1264dd 100644--- a/mobile/apps/photos/lib/models/collection/collection.dart+++ b/mobile/apps/photos/lib/models/collection/collection.dart@@ -106,7 +106,7 @@ class Collection {}bool hasShareePinned() {- return sharedMmdVersion > 0 && (sharedMagicMetadata.order ?? 0) != 0;+ return (sharedMagicMetadata.order ?? 0) != 0;}// hasLink returns true if there's any link attached to the collection