Update paths to moved icons

This commit is contained in:
Max Brunsfeld 2023-09-15 11:14:04 -07:00
parent 6c3fd2a687
commit 3dba52340e
2 changed files with 3 additions and 6 deletions

View file

@ -405,10 +405,7 @@ impl ChatPanel {
if matches!(item_type, ItemType::Header) { if matches!(item_type, ItemType::Header) {
row.add_children([ row.add_children([
MouseEventHandler::new::<OpenChannelNotes, _>(0, cx, |mouse_state, _| { MouseEventHandler::new::<OpenChannelNotes, _>(0, cx, |mouse_state, _| {
render_icon_button( render_icon_button(theme.icon_button.style_for(mouse_state), "icons/file.svg")
theme.icon_button.style_for(mouse_state),
"icons/radix/file.svg",
)
}) })
.on_click(MouseButton::Left, move |_, _, cx| { .on_click(MouseButton::Left, move |_, _, cx| {
if let Some(workspace) = workspace.upgrade(cx) { if let Some(workspace) = workspace.upgrade(cx) {
@ -426,7 +423,7 @@ impl ChatPanel {
MouseEventHandler::new::<ActiveCall, _>(0, cx, |mouse_state, _| { MouseEventHandler::new::<ActiveCall, _>(0, cx, |mouse_state, _| {
render_icon_button( render_icon_button(
theme.icon_button.style_for(mouse_state), theme.icon_button.style_for(mouse_state),
"icons/radix/speaker-loud.svg", "icons/speaker-loud.svg",
) )
}) })
.on_click(MouseButton::Left, move |_, _, cx| { .on_click(MouseButton::Left, move |_, _, cx| {

View file

@ -1621,7 +1621,7 @@ impl CollabPanel {
})) }))
.into_any() .into_any()
} else if row_hovered { } else if row_hovered {
Svg::new("icons/radix/speaker-loud.svg") Svg::new("icons/speaker-loud.svg")
.with_color(theme.channel_hash.color) .with_color(theme.channel_hash.color)
.constrained() .constrained()
.with_width(theme.channel_hash.width) .with_width(theme.channel_hash.width)