ui: add wallet icon and sidebar border

This commit is contained in:
2026-11-11 09:57:42 +07:00
parent 6fc7732128
commit 4166b30319
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -2050,7 +2050,7 @@ impl Render for ChatPanel {
.when(cfg!(not(target_arch = "wasm32")), |this| {
this.child(
Button::new("nutzap")
.icon(gpui_kit::assets::IconName::Coins)
.icon(IconName::Wallet)
.tooltip("Send eCash")
.disabled(dictating)
.ghost()
+2
View File
@@ -33,6 +33,7 @@ pub enum IconName {
Unlock,
Upload,
Warning,
Wallet,
}
impl IconNamed for IconName {
@@ -67,6 +68,7 @@ impl IconNamed for IconName {
Self::Unlock => "icons/unlock.svg",
Self::Upload => "icons/upload.svg",
Self::Warning => "icons/warning.svg",
Self::Wallet => "icons/wallet.svg",
}
.into()
}
+2
View File
@@ -404,6 +404,8 @@ impl Render for Sidebar {
.size_full()
.relative()
.justify_between()
.border_r_1()
.border_color(cx.theme().sidebar_border)
.bg(cx.theme().sidebar)
.text_color(cx.theme().sidebar_foreground)
.child(