Only hide app bar on fullscreen if also document displayed
This commit is contained in:
@@ -91,7 +91,7 @@ class _SheetViewerPageState extends State<SheetViewerPage>
|
|||||||
}
|
}
|
||||||
|
|
||||||
AppBar? buildAppBar() {
|
AppBar? buildAppBar() {
|
||||||
if (widget.config.fullscreen) {
|
if (widget.config.fullscreen && document != null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return AppBar(
|
return AppBar(
|
||||||
|
|||||||
Reference in New Issue
Block a user