revert fixes

This commit is contained in:
LeLunZ
2026-04-21 18:10:12 +02:00
parent 48b3b3caba
commit 4bd3d6054e
2 changed files with 4 additions and 14 deletions
@@ -319,11 +319,9 @@ class _AssetPageState extends ConsumerState<AssetPage> {
return PhotoView.customChild(
key: Key(asset.heroTag),
childSize:
_viewController?.scaleBoundaries?.childSize ??
(asset.width != null && asset.height != null
? Size(asset.width!.toDouble(), asset.height!.toDouble())
: null),
childSize: asset.width != null && asset.height != null
? Size(asset.width!.toDouble(), asset.height!.toDouble())
: null,
onDragStart: _onDragStart,
onDragUpdate: _onDragUpdate,
onDragEnd: _onDragEnd,