mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 15:41:52 +01:00
Fixed new series orientation not being set as default
This commit is contained in:
parent
e72356eb1e
commit
17de0ab66b
@ -584,6 +584,9 @@ class ReaderPresenter(
|
|||||||
readerType == ReadingModeType.LEFT_TO_RIGHT.flagValue &&
|
readerType == ReadingModeType.LEFT_TO_RIGHT.flagValue &&
|
||||||
default != ReadingModeType.RIGHT_TO_LEFT.flagValue
|
default != ReadingModeType.RIGHT_TO_LEFT.flagValue
|
||||||
)
|
)
|
||||||
|
if (manga.viewer_flags == -1) {
|
||||||
|
manga.viewer_flags = 0
|
||||||
|
}
|
||||||
manga.readingModeType = if (cantSwitchToLTR) 0 else readerType
|
manga.readingModeType = if (cantSwitchToLTR) 0 else readerType
|
||||||
db.updateViewerFlags(manga).asRxObservable().subscribe()
|
db.updateViewerFlags(manga).asRxObservable().subscribe()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user