diff --git a/lib/widget/viewer.dart b/lib/widget/viewer.dart index 8888f5db..8009162b 100644 --- a/lib/widget/viewer.dart +++ b/lib/widget/viewer.dart @@ -642,9 +642,9 @@ class _ViewerState extends State with DisposableManagerMixin { bool _canZoom() => !_isDetailPaneActive; late final disposables = [ - _ViewerBrightnessController(), + if (platform_k.isMobile) _ViewerBrightnessController(), _ViewerSystemUiResetter(), - if (Pref.inst().isViewerForceRotationOr(false)) + if (platform_k.isMobile && Pref.inst().isViewerForceRotationOr(false)) _ViewerOrientationController( onChanged: _onOrientationChanged, ),