only display top system bar in reader mode
This commit is contained in:
parent
a5edb55fe4
commit
3993f7fd1f
1 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ class MangaReaderView extends ConsumerWidget {
|
|||
leading: BackButton(
|
||||
onPressed: () {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
|
||||
overlays: SystemUiOverlay.values);
|
||||
overlays: [SystemUiOverlay.top]);
|
||||
Navigator.pop(context);
|
||||
},
|
||||
),
|
||||
|
|
@ -1290,7 +1290,7 @@ class _MangaChapterPageGalleryState
|
|||
|
||||
void _goBack(BuildContext context) {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
|
||||
overlays: SystemUiOverlay.values);
|
||||
overlays: [SystemUiOverlay.top]);
|
||||
Navigator.pop(context);
|
||||
}
|
||||
|
||||
|
|
@ -1827,7 +1827,7 @@ class _MangaChapterPageGalleryState
|
|||
if (fullScreenReader) {
|
||||
if (_isView) {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
|
||||
overlays: SystemUiOverlay.values);
|
||||
overlays: [SystemUiOverlay.top]);
|
||||
} else {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersive);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue