Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
style(gpui): show icons on section fields
Richie McIlroyd46e038e14cc
diff --git a/apps/desktop-gpui/src/ui/field.rs b/apps/desktop-gpui/src/ui/field.rsindex 3f3bdbfec..015f37f70 100644--- a/apps/desktop-gpui/src/ui/field.rs+++ b/apps/desktop-gpui/src/ui/field.rs@@ -236,7 +236,7 @@ impl RenderOnce for Field {FieldStyle::Stacked => (px(13.), FontWeight::NORMAL),_ => (px(13.), FontWeight::SEMIBOLD),};- let show_icon = style == FieldStyle::Plain;+ let show_icon = matches!(style, FieldStyle::Plain | FieldStyle::Section);div().flex()