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:
Thomas 2026-02-23 12:48:25 +00:00 committed by GitHub
parent 1bd28c3e78
commit caebe5166a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,6 @@ class _AssetPageState extends ConsumerState<AssetPage> {
PhotoViewControllerBase controller,
PhotoViewScaleStateController scaleStateController,
) {
_viewController = controller;
if (!_showingDetails && _isZoomed) return;
_beginDrag(details);
}