Commit 3d28eca
committed
fix(voice): import ActivationMode in non-macOS dictation listener
start_rdev_listener (cfg not(target_os = "macos")) maps
DictationActivationMode into the hotkey ActivationMode, but the type was
never imported — so cargo clippy/build fails on Linux with
"cannot find type ActivationMode". macOS was unaffected because the
function is cfg'd out there. Add a cfg-gated use matching the only cfg
that references the type (no unused-import warning on macOS).1 parent 0881023 commit 3d28eca
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments