Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
settings ui: Fix divider in items that doesn't have subfields (#42016)
Danilo Leal81e87c4cd6a4
diff --git a/crates/settings_ui/src/settings_ui.rs b/crates/settings_ui/src/settings_ui.rsindex e528b358e45..24c5fa06be3 100644--- a/crates/settings_ui/src/settings_ui.rs+++ b/crates/settings_ui/src/settings_ui.rs@@ -891,7 +891,7 @@ impl SettingsPageItem {.px_8().child(discriminant_element.when(has_sub_fields, |this| this.pb_4())),)- .when(!has_sub_fields, |this| {+ .when(!has_sub_fields && !is_last, |this| {this.child(h_flex().px_8().child(Divider::horizontal()))});