π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
refactor: initialize _availableCollections to an empty list in AddToCollectionDialog and FileRestoreDialog
AmanRajSinghMourya9217b550b512
diff --git a/mobile/apps/locker/lib/ui/components/add_to_collection_sheet.dart b/mobile/apps/locker/lib/ui/components/add_to_collection_sheet.dartindex 246be8d4b9..c4aba739fa 100644--- a/mobile/apps/locker/lib/ui/components/add_to_collection_sheet.dart+++ b/mobile/apps/locker/lib/ui/components/add_to_collection_sheet.dart@@ -31,7 +31,7 @@ class AddToCollectionDialog extends StatefulWidget {class _AddToCollectionDialogState extends State<AddToCollectionDialog> {final Set<int> _selectedCollectionIds = <int>{};- late List<Collection> _availableCollections;+ List<Collection> _availableCollections = [];@overridevoid initState() {diff --git a/mobile/apps/locker/lib/ui/components/file_restore_sheet.dart b/mobile/apps/locker/lib/ui/components/file_restore_sheet.dartindex aa3e0a012c..d2f2d90d8f 100644--- a/mobile/apps/locker/lib/ui/components/file_restore_sheet.dart+++ b/mobile/apps/locker/lib/ui/components/file_restore_sheet.dart@@ -31,7 +31,7 @@ class FileRestoreDialog extends StatefulWidget {class _FileRestoreDialogState extends State<FileRestoreDialog> {final Set<int> _selectedCollectionIds = <int>{};- late List<Collection> _availableCollections;+ List<Collection> _availableCollections = [];@overridevoid initState() {