优化 #5739
This commit is contained in:
@@ -114,7 +114,7 @@ class ContentProcessor private constructor(
|
|||||||
} else if (useReplace && book.getUseReplaceRule()) {
|
} else if (useReplace && book.getUseReplaceRule()) {
|
||||||
title = Pattern.quote(
|
title = Pattern.quote(
|
||||||
chapter.getDisplayTitle(
|
chapter.getDisplayTitle(
|
||||||
contentReplaceRules,
|
titleReplaceRules,
|
||||||
chineseConvert = false
|
chineseConvert = false
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -139,7 +139,7 @@ class ContentProcessor private constructor(
|
|||||||
1 -> mContent = ChineseUtils.t2s(mContent)
|
1 -> mContent = ChineseUtils.t2s(mContent)
|
||||||
2 -> mContent = ChineseUtils.s2t(mContent)
|
2 -> mContent = ChineseUtils.s2t(mContent)
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (_: Exception) {
|
||||||
appCtx.toastOnUi("简繁转换出错")
|
appCtx.toastOnUi("简繁转换出错")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user