mirror of
https://github.com/immich-app/immich.git
synced 2026-02-25 12:40:12 -05:00
chore(mobile): remove redundant assignment (#26404)
The view controller is already assigned during page build. Reassigning it for every drag doesn't really make any sense.
This commit is contained in:
parent
1bd28c3e78
commit
caebe5166a
@ -197,7 +197,6 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
||||
PhotoViewControllerBase controller,
|
||||
PhotoViewScaleStateController scaleStateController,
|
||||
) {
|
||||
_viewController = controller;
|
||||
if (!_showingDetails && _isZoomed) return;
|
||||
_beginDrag(details);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user