diff --git a/Cargo.lock b/Cargo.lock index fb55b65..8d6d6da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9129,7 +9129,7 @@ dependencies = [ [[package]] name = "whisper" -version = "0.0.31" +version = "0.0.32" dependencies = [ "anyhow", "async-channel", diff --git a/Cargo.toml b/Cargo.toml index 8aae545..638c815 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "whisper" -version = "0.0.31" +version = "0.0.32" edition = "2024" description = "macOS dictation with self-hosted speech recognition and text cleanup (Rust + GPUI)" license = "AGPL-3.0-only" diff --git a/src/ui/settings_modal/microphone.rs b/src/ui/settings_modal/microphone.rs index 7e27ded..0c9a06d 100644 --- a/src/ui/settings_modal/microphone.rs +++ b/src/ui/settings_modal/microphone.rs @@ -130,7 +130,7 @@ impl SettingsModal { .child(note), ), ) - // Refresh sits beside the list it reloads. + // Refresh follows the device picker at the row's trailing edge. .child( div() .flex_none() @@ -157,6 +157,7 @@ impl SettingsModal { })), ), ) + .child(self.microphone.clone()) .child( Button::new("settings-refresh-mics") .icon("refresh-cw", 14.) @@ -167,8 +168,7 @@ impl SettingsModal { .on_click( cx.listener(|this, _, _, cx| this.reload_microphones(cx)), ), - ) - .child(self.microphone.clone()), + ), ), ) .into_any_element()