mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-23 16:21:12 +01:00
using ignorecase check instead for LibraryItem
This commit is contained in:
parent
a7e000d159
commit
4462e75ccd
@ -165,11 +165,11 @@ class LibraryItem(
|
|||||||
if (tag.trim().isEmpty()) return true
|
if (tag.trim().isEmpty()) return true
|
||||||
return if (tag.startsWith("-")) {
|
return if (tag.startsWith("-")) {
|
||||||
genres?.find {
|
genres?.find {
|
||||||
it.trim().toLowerCase() == tag.substringAfter("-").toLowerCase()
|
it.trim().equals(tag.substringAfter("-"), ignoreCase = true)
|
||||||
} == null
|
} == null
|
||||||
} else {
|
} else {
|
||||||
genres?.find {
|
genres?.find {
|
||||||
it.trim().toLowerCase() == tag.toLowerCase()
|
it.trim().equals(tag, ignoreCase = true)
|
||||||
} != null
|
} != null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user