mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 14:19:26 +03: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,
|
PhotoViewControllerBase controller,
|
||||||
PhotoViewScaleStateController scaleStateController,
|
PhotoViewScaleStateController scaleStateController,
|
||||||
) {
|
) {
|
||||||
_viewController = controller;
|
|
||||||
if (!_showingDetails && _isZoomed) return;
|
if (!_showingDetails && _isZoomed) return;
|
||||||
_beginDrag(details);
|
_beginDrag(details);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user