ui: add wallet icon and sidebar border
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user