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:
1 parent
1bd28c3e78
commit
caebe5166a
1 file changed
-1
@@ -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