Fixed new series orientation not being set as default

This commit is contained in:
Jays2Kings 2021-07-17 14:29:41 -04:00
parent e72356eb1e
commit 17de0ab66b

View File

@ -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()
} }