mirror of
https://github.com/immich-app/immich.git
synced 2026-03-03 00:47:02 +00: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:
@@ -197,7 +197,6 @@ class _AssetPageState extends ConsumerState<AssetPage> {
|
||||
PhotoViewControllerBase controller,
|
||||
PhotoViewScaleStateController scaleStateController,
|
||||
) {
|
||||
_viewController = controller;
|
||||
if (!_showingDetails && _isZoomed) return;
|
||||
_beginDrag(details);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user