π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fix grey screen flash from late initialisation error right after granting photo and video permission on logging in
ashilkn42ce7a0d392e
diff --git a/mobile/lib/ui/home/loading_photos_widget.dart b/mobile/lib/ui/home/loading_photos_widget.dartindex 29fe1c7b50..7ae293131f 100644--- a/mobile/lib/ui/home/loading_photos_widget.dart+++ b/mobile/lib/ui/home/loading_photos_widget.dart@@ -27,7 +27,7 @@ class _LoadingPhotosWidgetState extends State<LoadingPhotosWidget> {late StreamSubscription<SyncStatusUpdate> _firstImportEvent;StreamSubscription<LocalImportProgressEvent>? _importProgressEvent;int _currentPage = 0;- late String _loadingMessage;+ String? _loadingMessage;final PageController _pageController = PageController(initialPage: 0,);@@ -105,9 +105,7 @@ class _LoadingPhotosWidgetState extends State<LoadingPhotosWidget> {@overrideWidget build(BuildContext context) {- if (_importProgressEvent == null) {- _loadingMessage = S.of(context).loadingYourPhotos;- }+ _loadingMessage ??= S.of(context).loadingYourPhotos;_setupLoadingMessages(context);final isLightMode = Theme.of(context).brightness == Brightness.light;return Scaffold(@@ -144,7 +142,7 @@ class _LoadingPhotosWidgetState extends State<LoadingPhotosWidget> {],),Text(- _loadingMessage,+ _loadingMessage!,style: TextStyle(color: Theme.of(context).colorScheme.subTextColor,),