diff --git a/lib/pages/viewer/viewer_controller.dart b/lib/pages/viewer/viewer_controller.dart index 8adc4a661..ee3968c97 100644 --- a/lib/pages/viewer/viewer_controller.dart +++ b/lib/pages/viewer/viewer_controller.dart @@ -40,7 +40,7 @@ class ViewerController extends GetxController { var animation = Settings.animation.obs; var rightToLeft = Settings.rightToLeft.obs; var imgQuality = Settings.imageQuality.obs; - var fullscreen = (!Settings.disableFullScreen).obs; + var fullscreen = (!Settings.disableFullScreen || Platform.isIOS).obs; /// horizontal viewer option var viewScrollType = @@ -224,7 +224,7 @@ class ViewerController extends GetxController { } } else { if (!Settings.disableFullScreen || Platform.isIOS) { - SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []); + SystemChrome.setEnagbledSystemUIMode(SystemUiMode.manual, overlays: []); } opacity.value = 0.0; Future.delayed(const Duration(milliseconds: 300)) diff --git a/lib/pages/viewer/viewer_page.dart b/lib/pages/viewer/viewer_page.dart index 52de9f42d..71a096b76 100644 --- a/lib/pages/viewer/viewer_page.dart +++ b/lib/pages/viewer/viewer_page.dart @@ -131,7 +131,7 @@ class _ViewerPageState extends State { _initProvider = CallOnce(_initAfterProvider); _startsTime = DateTime.now(); - if (!Settings.disableFullScreen) { + if (!Settings.disableFullScreen || Platform.isIOS) { SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []); }