sheetviewer: fix saved fullscreen makes topbar vanish

This commit is contained in:
2025-10-25 19:35:34 +02:00
parent f7bc9052bd
commit 811a70aa9a

View File

@@ -44,6 +44,10 @@ class _SheetViewerPageState extends State<SheetViewerPage>
@override @override
void initState() { void initState() {
FullScreen.addListener(this); FullScreen.addListener(this);
// Load saved fullscreen
FullScreen.setFullScreen(widget.config.fullscreen);
super.initState(); super.initState();
documentLoaded = loadPdf(); documentLoaded = loadPdf();
} }