π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fix bug when clicking on 'collect' in shared tab to collect photos
ashilknaed5d962e5ab
diff --git a/mobile/lib/utils/collection_util.dart b/mobile/lib/utils/collection_util.dartindex 897bde6ca4..5f30e4322f 100644--- a/mobile/lib/utils/collection_util.dart+++ b/mobile/lib/utils/collection_util.dart@@ -22,6 +22,7 @@ Future<void> onTapCollectEventPhotos(BuildContext context) async {alwaysShowSuccessState: false,initialValue: currentDate,textCapitalization: TextCapitalization.words,+ popnavAfterSubmission: false,onSubmit: (String text) async {// indicates user cancelled the rename requestif (text.trim() == "") {@@ -31,14 +32,14 @@ Future<void> onTapCollectEventPhotos(BuildContext context) async {try {final Collection c =await CollectionsService.instance.createAlbum(text);- // ignore: unawaited_futures- routeToPage(+ await routeToPage(context,CollectionPage(isFromCollectPhotos: true,CollectionWithThumbnail(c, null),),);+ Navigator.of(context).pop();} catch (e, s) {Logger("Collect event photos from CollectPhotosCardWidget").severe("Failed to rename album", e, s);