Commit be915bc
Fix model switching not reinitializing recognizers
The switchModel function compared the new model with currentModel,
but currentModel reads from UserDefaults which was already updated
by SettingsView. This caused the guard to always return early,
skipping recognizer initialization.
Now switchModel always reinitializes recognizers when called.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e3b6363 commit be915bc
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments