mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Reader fix
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user