From 17de0ab66b9cbdc244306b71090e7d3f76411237 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sat, 17 Jul 2021 14:29:41 -0400 Subject: [PATCH] Fixed new series orientation not being set as default --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt index 5f8034db80..da4db21345 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.kt @@ -584,6 +584,9 @@ class ReaderPresenter( readerType == ReadingModeType.LEFT_TO_RIGHT.flagValue && default != ReadingModeType.RIGHT_TO_LEFT.flagValue ) + if (manga.viewer_flags == -1) { + manga.viewer_flags = 0 + } manga.readingModeType = if (cantSwitchToLTR) 0 else readerType db.updateViewerFlags(manga).asRxObservable().subscribe() }