π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove late initialisations
ashilkn62b05513a226
diff --git a/mobile/lib/ui/viewer/file/zoomable_image.dart b/mobile/lib/ui/viewer/file/zoomable_image.dartindex 9993b6b3c2..ef28a98ee5 100644--- a/mobile/lib/ui/viewer/file/zoomable_image.dart+++ b/mobile/lib/ui/viewer/file/zoomable_image.dart@@ -52,8 +52,8 @@ class _ZoomableImageState extends State<ZoomableImage> {bool _loadedFinalImage = false;ValueChanged<PhotoViewScaleState>? _scaleStateChangedCallback;bool _isZooming = false;- late PhotoViewController _photoViewController;- late final PhotoViewScaleStateController _scaleStateController;+ PhotoViewController _photoViewController = PhotoViewController();+ final _scaleStateController = PhotoViewScaleStateController();@overridevoid initState() {@@ -68,8 +68,6 @@ class _ZoomableImageState extends State<ZoomableImage> {debugPrint("isZooming = $_isZooming, currentState $value");// _logger.info('is reakky zooming $_isZooming with state $value');};- _photoViewController = PhotoViewController();- _scaleStateController = PhotoViewScaleStateController();super.initState();}