Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update paths to moved icons

Max Brunsfeld3dba52340efc
diff --git a/crates/collab_ui/src/chat_panel.rs b/crates/collab_ui/src/chat_panel.rs
index c8f0f9bc8d3..087f2e1b8e5 100644
--- a/crates/collab_ui/src/chat_panel.rs
+++ b/crates/collab_ui/src/chat_panel.rs
@@ -405,10 +405,7 @@ impl ChatPanel {
if matches!(item_type, ItemType::Header) {
row.add_children([
MouseEventHandler::new::<OpenChannelNotes, _>(0, cx, |mouse_state, _| {
- render_icon_button(
- theme.icon_button.style_for(mouse_state),
- "icons/radix/file.svg",
- )
+ render_icon_button(theme.icon_button.style_for(mouse_state), "icons/file.svg")
})
.on_click(MouseButton::Left, move |_, _, cx| {
if let Some(workspace) = workspace.upgrade(cx) {
@@ -426,7 +423,7 @@ impl ChatPanel {
MouseEventHandler::new::<ActiveCall, _>(0, cx, |mouse_state, _| {
render_icon_button(
theme.icon_button.style_for(mouse_state),
- "icons/radix/speaker-loud.svg",
+ "icons/speaker-loud.svg",
)
})
.on_click(MouseButton::Left, move |_, _, cx| {
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs
index 2af77ea2d3f..a258151bb80 100644
--- a/crates/collab_ui/src/collab_panel.rs
+++ b/crates/collab_ui/src/collab_panel.rs
@@ -1621,7 +1621,7 @@ impl CollabPanel {
}))
.into_any()
} else if row_hovered {
- Svg::new("icons/radix/speaker-loud.svg")
+ Svg::new("icons/speaker-loud.svg")
.with_color(theme.channel_hash.color)
.constrained()
.with_width(theme.channel_hash.width)