Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: loading icon's color in light theme when viewing images

ashilkn53184da7fb3b
diff --git a/mobile/lib/ui/viewer/file/zoomable_image.dart b/mobile/lib/ui/viewer/file/zoomable_image.dart
index 90a4fae250..ff6bceb736 100644
--- a/mobile/lib/ui/viewer/file/zoomable_image.dart
+++ b/mobile/lib/ui/viewer/file/zoomable_image.dart
@@ -59,6 +59,7 @@ class _ZoomableImageState extends State<ZoomableImage> {
@override
void initState() {
+ super.initState();
_photo = widget.photo;
_logger = Logger("ZoomableImage");
_logger.info('initState for ${_photo.generatedID} with tag ${_photo.tag}');
@@ -70,7 +71,6 @@ class _ZoomableImageState extends State<ZoomableImage> {
debugPrint("isZooming = $_isZooming, currentState $value");
// _logger.info('is reakky zooming $_isZooming with state $value');
};
- super.initState();
}
@override
@@ -135,7 +135,9 @@ class _ZoomableImageState extends State<ZoomableImage> {
height: screenRelativeImageHeight,
child: Hero(
tag: widget.tagPrefix! + _photo.tag,
- child: const EnteLoadingWidget(),
+ child: const EnteLoadingWidget(
+ color: Colors.white,
+ ),
),
),
);
@@ -143,7 +145,9 @@ class _ZoomableImageState extends State<ZoomableImage> {
),
);
} else {
- content = const EnteLoadingWidget();
+ content = const EnteLoadingWidget(
+ color: Colors.white,
+ );
}
final GestureDragUpdateCallback? verticalDragCallback = _isZooming