diff --git a/crates/assistant2/src/message_editor.rs b/crates/assistant2/src/message_editor.rs index d5da3c2d6a..f67e01dfe8 100644 --- a/crates/assistant2/src/message_editor.rs +++ b/crates/assistant2/src/message_editor.rs @@ -12,8 +12,8 @@ use rope::Point; use settings::Settings; use theme::ThemeSettings; use ui::{ - prelude::*, ButtonLike, CheckboxWithLabel, ElevationIndex, KeyBinding, PopoverMenu, - PopoverMenuHandle, + prelude::*, ButtonLike, ElevationIndex, KeyBinding, PopoverMenu, PopoverMenuHandle, + SwitchWithLabel, }; use workspace::Workspace; @@ -256,7 +256,7 @@ impl Render for MessageEditor { .child( h_flex() .justify_between() - .child(CheckboxWithLabel::new( + .child(SwitchWithLabel::new( "use-tools", Label::new("Tools"), self.use_tools.into(),