Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chore(desktop-gpui): drop descriptive settings card comments

Richie McIlroyfa94cf1cb3f0
diff --git a/apps/desktop-gpui/src/ui/surface.rs b/apps/desktop-gpui/src/ui/surface.rs
index 21fd5b779..8e3c5bb69 100644
--- a/apps/desktop-gpui/src/ui/surface.rs
+++ b/apps/desktop-gpui/src/ui/surface.rs
@@ -14,7 +14,6 @@ use crate::theme::Theme;
pub struct Card;
impl Card {
- /// The settings card: a System Settings group, radius 12 and no border.
pub fn settings(theme: &Theme, padded: bool) -> Div {
div()
.rounded(px(12.))
@@ -23,8 +22,6 @@ impl Card {
.when(padded, |this| this.px(px(16.)).py(px(16.)))
}
- /// The same card with hairlines between its rows, inset from both edges
- /// the way AppKit's grouped forms draw them.
pub fn settings_rows(theme: &Theme, children: Vec<AnyElement>) -> Div {
let border = theme.settings_border();
let last = children.len().saturating_sub(1);