Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix mis-set variables
Mikayla Maki790ef19a48c1
diff --git a/crates/auto_update/src/update_notification.rs b/crates/auto_update/src/update_notification.rsindex d6f94c708d2..e6b285b0728 100644--- a/crates/auto_update/src/update_notification.rs+++ b/crates/auto_update/src/update_notification.rs@@ -28,7 +28,7 @@ impl View for UpdateNotification {fn render(&mut self, cx: &mut gpui::RenderContext<'_, Self>) -> gpui::ElementBox {let theme = cx.global::<Settings>().theme.clone();- let theme = &theme.simple_message_notification;+ let theme = &theme.update_notification;let app_name = cx.global::<ReleaseChannel>().display_name();diff --git a/crates/workspace/src/notifications.rs b/crates/workspace/src/notifications.rsindex 0e76d45518d..43feede1904 100644--- a/crates/workspace/src/notifications.rs+++ b/crates/workspace/src/notifications.rs@@ -206,7 +206,7 @@ pub mod simple_message_notification {fn render(&mut self, cx: &mut gpui::RenderContext<'_, Self>) -> gpui::ElementBox {let theme = cx.global::<Settings>().theme.clone();- let theme = &theme.update_notification;+ let theme = &theme.simple_message_notification;enum MessageNotificationTag {}diff --git a/styles/src/styleTree/simpleMessageNotification.ts b/styles/src/styleTree/simpleMessageNotification.tsindex 76ff5e1ca5f..2697bedc777 100644--- a/styles/src/styleTree/simpleMessageNotification.ts+++ b/styles/src/styleTree/simpleMessageNotification.ts@@ -7,11 +7,11 @@ export default function simpleMessageNotification(colorScheme: ColorScheme): Objlet layer = colorScheme.middle;return {message: {- ...text(layer, "sans", { size: "md" }),+ ...text(layer, "sans", { size: "xs" }),margin: { left: headerPadding, right: headerPadding },},actionMessage: {- ...text(layer, "sans", { size: "md" }),+ ...text(layer, "sans", { size: "xs" }),margin: { left: headerPadding, top: 6, bottom: 6 },hover: {color: foreground(layer, "hovered"),