LMMgr // Fix tagOverrides().
This commit is contained in:
parent
03913cb71c
commit
12e9caf557
|
@ -97,7 +97,8 @@ extension LMMgr: PhraseEditorDelegate {
|
||||||
guard arr.count >= 2 else { continue }
|
guard arr.count >= 2 else { continue }
|
||||||
let exists = Self.checkIfUserPhraseExist(
|
let exists = Self.checkIfUserPhraseExist(
|
||||||
userPhrase: arr[0].description, mode: mode,
|
userPhrase: arr[0].description, mode: mode,
|
||||||
keyArray: arr[1].map(\.description), factoryDictionaryOnly: true
|
keyArray: arr[1].split(separator: "-").map(\.description),
|
||||||
|
factoryDictionaryOnly: true
|
||||||
)
|
)
|
||||||
outputStack.append(currentLine.description)
|
outputStack.append(currentLine.description)
|
||||||
let replace = !currentLine.contains(" #𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎") && exists
|
let replace = !currentLine.contains(" #𝙾𝚟𝚎𝚛𝚛𝚒𝚍𝚎") && exists
|
||||||
|
|
Loading…
Reference in New Issue