π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix empty gallery white screens
Codex38291e0ae6cd
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dartindex 47da9fbb92..79c98dddbb 100644--- a/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart+++ b/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart@@ -57,7 +57,9 @@ class DeviceFolderPage extends StatelessWidget {header: Configuration.instance.hasConfiguredAccount()? BackupHeaderWidget(deviceCollection): const SizedBox.shrink(),- initialFiles: [deviceCollection.thumbnail!],+ initialFiles: deviceCollection.thumbnail != null+ ? [deviceCollection.thumbnail!]+ : const <EnteFile>[],);return GalleryFilesState(child: Scaffold(diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart b/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dartindex b5c2a87543..b5b6042cce 100644--- a/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart+++ b/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart@@ -165,7 +165,7 @@ class _MagicResultScreenState extends State<MagicResultScreen> {tagPrefix: widget.heroTag,selectedFiles: _selectedFiles,enableFileGrouping: _enableGrouping,- initialFiles: [files.first],+ initialFiles: files.isNotEmpty ? [files.first] : const [],);return GalleryFilesState(child: InheritedSearchFilterDataWrapper(