优化
Some checks are pending
Test Build / prepare (push) Waiting to run
Test Build / build (app, release) (push) Blocked by required conditions
Test Build / build (app, releaseA) (push) Blocked by required conditions
Test Build / prerelease (push) Blocked by required conditions
Test Build / lanzou (push) Blocked by required conditions
Test Build / test_Branch (push) Blocked by required conditions
Test Build / telegram (push) Blocked by required conditions

This commit is contained in:
Horis
2025-02-12 19:17:27 +08:00
parent c1e555c654
commit b925d1b26f

View File

@@ -89,8 +89,9 @@ class App : Application() {
Backup.clearCache()
//初始化简繁转换引擎
when (AppConfig.chineseConverterType) {
1 -> launch {
1 -> {
ChineseUtils.fixT2sDict()
ChineseUtils.preLoad(true, TransType.TRADITIONAL_TO_SIMPLE)
}
2 -> ChineseUtils.preLoad(true, TransType.SIMPLE_TO_TRADITIONAL)