diff --git a/Toki Trainer/Views/ContentView.swift b/Toki Trainer/Views/ContentView.swift index 8c440a8..252889e 100644 --- a/Toki Trainer/Views/ContentView.swift +++ b/Toki Trainer/Views/ContentView.swift @@ -84,6 +84,9 @@ struct TranslatorView: View { .sheet(item: $selectedPartOfSpeech) { selectedPOS in PartsOfSpeechView(selectedPartOfSpeech: selectedPOS, partsOfSpeech: tokiDictViewModel.partsOfSpeech) } + .onChange(of: tokiInput) { newValue in + tokiDictViewModel.filterDictionary(newValue) + } } } }