diff --git a/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryInfo.kt b/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryInfo.kt index 8f8105ed4..f4db6ca2d 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryInfo.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/client/data/GalleryInfo.kt @@ -122,7 +122,7 @@ interface GalleryInfo { private fun generateSLangFromTitle(title: String): String? { for (i in S_LANGS.indices) { - if (S_LANG_PATTERNS[i].matches(title)) { + if (S_LANG_PATTERNS[i].containsMatchIn(title)) { return S_LANGS[i] } }