Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Revert "Add `meta_text` to style metaline"

Nate Butlerc8dfccff36fc
diff --git a/crates/collab_ui/src/notification_panel.rs b/crates/collab_ui/src/notification_panel.rs
index 80c99b5c725..e245a919f3a 100644
--- a/crates/collab_ui/src/notification_panel.rs
+++ b/crates/collab_ui/src/notification_panel.rs
@@ -257,7 +257,7 @@ impl NotificationPanel {
} else {
"You declined"
},
- style.meta_text.text.clone(),
+ style.read_text.text.clone(),
)
.flex_float()
.into_any(),
diff --git a/crates/theme/src/theme.rs b/crates/theme/src/theme.rs
index c29f23c63a4..3f4264886f9 100644
--- a/crates/theme/src/theme.rs
+++ b/crates/theme/src/theme.rs
@@ -674,7 +674,6 @@ pub struct NotificationPanel {
pub icon_button: Interactive<IconButton>,
pub unread_text: ContainedText,
pub read_text: ContainedText,
- pub meta_text: ContainedText,
pub timestamp: ContainedText,
pub button: Interactive<ContainedText>,
}
diff --git a/styles/src/style_tree/notification_panel.ts b/styles/src/style_tree/notification_panel.ts
index 6bc2b9c6113..ecafc3c8e6c 100644
--- a/styles/src/style_tree/notification_panel.ts
+++ b/styles/src/style_tree/notification_panel.ts
@@ -44,13 +44,6 @@ export default function (): any {
...notification_text,
color: notification_read_text_color,
},
- meta_text: {
- padding: { top: 4, bottom: 4, right: 4 },
- ...text(layer, "sans", "base"),
- color: with_opacity(
- theme.middle.base.default.foreground,
- 0.6)
- },
unread_text: notification_text,
button: text_button({
variant: "ghost",