π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refactor: removing null check for _imageProvider when calling onFinalFileLoad
AmanRajSinghMourya277b88f33261
diff --git a/mobile/lib/ui/viewer/file/zoomable_image.dart b/mobile/lib/ui/viewer/file/zoomable_image.dartindex 4be0f700c1..aa69d1cd1d 100644--- a/mobile/lib/ui/viewer/file/zoomable_image.dart+++ b/mobile/lib/ui/viewer/file/zoomable_image.dart@@ -428,9 +428,7 @@ class _ZoomableImageState extends State<ZoomableImage> {_loadedFinalImage = true;_logger.info("Final image loaded");});- if (_imageProvider != null) {- widget.onFinalFileLoad?.call(memoryDuration: 5);- }+ widget.onFinalFileLoad?.call(memoryDuration: 5);}Future<void> _updatePhotoViewController({