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