Reader fix

This commit is contained in:
Syer10
2025-10-07 12:59:46 -04:00
parent e9190aeb2a
commit 0ad221d039

View File

@@ -168,7 +168,7 @@ fun ReaderMenu(
) { ) {
Crossfade(state to chapter) { (state, chapter) -> Crossfade(state to chapter) { (state, chapter) ->
if (state is ReaderChapter.State.Loaded && chapter != null) { if (state is ReaderChapter.State.Loaded && chapter != null) {
if (pages.isNotEmpty()) { if (pages.any { it is ReaderPage }) {
BoxWithConstraints { BoxWithConstraints {
if (maxWidth > 720.dp) { if (maxWidth > 720.dp) {
WideReaderMenu( WideReaderMenu(