Comment out toki pona word matching in english mode

This commit is contained in:
Madeline 2022-11-04 04:09:20 -04:00
parent 0fea23b057
commit d87ddbcd8c
1 changed files with 4 additions and 3 deletions

View File

@ -48,9 +48,10 @@ class TokiDictionaryViewModel: ObservableObject {
var entryMatch = false
// Check if word matches toki pona form, even partially
if value.word.hasPrefix(input) {
entryMatch = true
}
// Commented out because toki words shouldn't be matched in english mode
// if value.word.hasPrefix(input) {
// entryMatch = true
// }
// 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