.
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 1m19s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m23s

This commit is contained in:
2026-01-26 12:59:25 +07:00
parent cb4b7ff36d
commit 6df08a9e48
11 changed files with 169 additions and 288 deletions

View File

@@ -75,13 +75,7 @@ impl RenderOnce for WindowControl {
this.child(
svg()
.external_path(path.into_os_string().into_string().unwrap())
.map(|this| {
if cx.theme().is_dark() {
this.text_color(gpui::white())
} else {
this.text_color(gpui::black())
}
})
.text_color(cx.theme().text)
.size_4(),
)
} else {