From dc1fdc623fe5df91a7930001cb8cce2113944cdc Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Thu, 20 May 2021 04:10:32 +0800 Subject: [PATCH] Hide the nav bar in fullscreen viewer --- lib/widget/viewer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/viewer.dart b/lib/widget/viewer.dart index a4f7b3a6..166bd887 100644 --- a/lib/widget/viewer.dart +++ b/lib/widget/viewer.dart @@ -670,7 +670,7 @@ class _ViewerState extends State { if (flag) { SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); } else { - SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]); + SystemChrome.setEnabledSystemUIOverlays([]); } }