Hide the nav bar in fullscreen viewer

This commit is contained in:
Ming Ming 2021-05-20 04:10:32 +08:00
parent 835426e534
commit dc1fdc623f

View file

@ -670,7 +670,7 @@ class _ViewerState extends State<Viewer> {
if (flag) {
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
} else {
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]);
SystemChrome.setEnabledSystemUIOverlays([]);
}
}