π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
non nullable dialog
laurenspriem947d294afe8e
diff --git a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dartindex 3cc3e6e0df..0f23fa1c8a 100644--- a/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart+++ b/mobile/apps/photos/lib/ui/collections/collection_action_sheet.dart@@ -276,12 +276,12 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {isDisabled: _selectedCollections.isEmpty,onTap: () async {if (widget.selectedPeople != null) {- final ProgressDialog? dialog = createProgressDialog(+ final ProgressDialog dialog = createProgressDialog(context,AppLocalizations.of(context).uploadingFilesToAlbum,isDismissible: true,);- await dialog?.show();+ await dialog.show();for (final collection in _selectedCollections) {try {await smartAlbumsService.addPeopleToSmartAlbum(@@ -297,7 +297,7 @@ class _CollectionActionSheetState extends State<CollectionActionSheet> {}}unawaited(smartAlbumsService.syncSmartAlbums());- await dialog?.hide();+ await dialog.hide();return;}final CollectionActions collectionActions =