mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore: Disable LTR/Comic/Manhua auto detection
Causing too many confusion (GH-125)
This commit is contained in:
parent
4523b13843
commit
41c565ca9f
1 changed files with 11 additions and 11 deletions
|
@ -98,17 +98,17 @@ fun Manga.defaultReaderType(): Int {
|
|||
)
|
||||
) {
|
||||
ReadingModeType.LONG_STRIP.flagValue
|
||||
} else if (currentTags.any {
|
||||
tag -> tag == "chinese" || tag == "manhua" || tag == "comic"
|
||||
} || (
|
||||
isComicSource(sourceName) &&
|
||||
!sourceName.contains("tapas", true) &&
|
||||
currentTags.none { tag -> isMangaTag(tag) }
|
||||
) || (
|
||||
sourceName.contains("manhua", true) && currentTags.none { tag -> isMangaTag(tag) }
|
||||
)
|
||||
) {
|
||||
ReadingModeType.LEFT_TO_RIGHT.flagValue
|
||||
// } else if (currentTags.any {
|
||||
// tag -> tag == "chinese" || tag == "manhua" || tag == "comic"
|
||||
// } || (
|
||||
// isComicSource(sourceName) &&
|
||||
// !sourceName.contains("tapas", true) &&
|
||||
// currentTags.none { tag -> isMangaTag(tag) }
|
||||
// ) || (
|
||||
// sourceName.contains("manhua", true) && currentTags.none { tag -> isMangaTag(tag) }
|
||||
// )
|
||||
// ) {
|
||||
// ReadingModeType.LEFT_TO_RIGHT.flagValue
|
||||
} else {
|
||||
0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue