We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df4121 commit 48c1659Copy full SHA for 48c1659
ilimi/Utils/ZhuyinMode/ZhuyinMode.swift
@@ -13,6 +13,12 @@ extension IlimiInputController {
13
14
// 輸入';進入注音模式
15
func checkIsZhuyinMode(_ input: String) -> Bool {
16
+ let hadReadPinyin = UserDefaults.standard.object(forKey: "hadReadPinyinJson") as? Bool ?? false
17
+ if (!hadReadPinyin) {
18
+ // 沒有注音檔的話提示使用者
19
+ NotifierController.notify(message: "請下載並匯入注音檔", stay: true)
20
+ return false
21
+ }
22
isZhuyinMode = (input == "';")
23
if isZhuyinMode {
24
InputContext.shared.cleanUp()
0 commit comments