Comment out toki pona word matching in english mode
This commit is contained in:
parent
0fea23b057
commit
d87ddbcd8c
@ -48,9 +48,10 @@ class TokiDictionaryViewModel: ObservableObject {
|
|||||||
var entryMatch = false
|
var entryMatch = false
|
||||||
|
|
||||||
// Check if word matches toki pona form, even partially
|
// Check if word matches toki pona form, even partially
|
||||||
if value.word.hasPrefix(input) {
|
// Commented out because toki words shouldn't be matched in english mode
|
||||||
entryMatch = true
|
// if value.word.hasPrefix(input) {
|
||||||
}
|
// entryMatch = true
|
||||||
|
// }
|
||||||
|
|
||||||
// Check if any part of the word definitions match in English, even partially, but
|
// Check if any part of the word definitions match in English, even partially, but
|
||||||
// only by prefix (if one of the definition words matches the beginning of the word with
|
// only by prefix (if one of the definition words matches the beginning of the word with
|
||||||
|
Loading…
Reference in New Issue
Block a user