Skip to content

Commit

Permalink
Add icon for the Assistant2 status bar item
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Dec 17, 2024
1 parent 70f82f8 commit 2e96c0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/icons/zed_assistant_2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion crates/assistant2/src/assistant_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl Panel for AssistantPanel {
}

fn icon(&self, _cx: &WindowContext) -> Option<IconName> {
Some(IconName::ZedAssistant)
Some(IconName::ZedAssistant2)
}

fn icon_tooltip(&self, _cx: &WindowContext) -> Option<&'static str> {
Expand Down
1 change: 1 addition & 0 deletions crates/ui/src/components/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ pub enum IconName {
X,
XCircle,
ZedAssistant,
ZedAssistant2,
ZedAssistantFilled,
ZedPredict,
ZedXCopilot,
Expand Down

0 comments on commit 2e96c0f

Please sign in to comment.