π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clarify draft collection preference
ashil-pilot93bf838e716b
diff --git a/mobile/apps/photos/lib/ui/social/comments_screen.dart b/mobile/apps/photos/lib/ui/social/comments_screen.dartindex 4f550ab401..431ee954e1 100644--- a/mobile/apps/photos/lib/ui/social/comments_screen.dart+++ b/mobile/apps/photos/lib/ui/social/comments_screen.dart@@ -265,7 +265,7 @@ class _FileCommentsBottomSheetState extends State<FileCommentsBottomSheet> {final savedSelectedCollectionID =_lastSelectedDraftCollectionIDs[_draftFileKey];final nextSelectedCollectionID =- _canRestoreDraftCollection &&+ _shouldPreferDraftCollection &&savedSelectedCollectionID != null &&sharedCollections.any((info) => info.collection.id == savedSelectedCollectionID,@@ -688,7 +688,7 @@ class _FileCommentsBottomSheetState extends State<FileCommentsBottomSheet> {_CommentDraftFileKey get _draftFileKey =>(userID: _currentUserID, fileID: widget.fileID);- bool get _canRestoreDraftCollection =>+ bool get _shouldPreferDraftCollection =>widget.preferDraftCollection && widget.highlightCommentID == null;_CommentDraftKey get _draftKey => (