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.

Merge branch 'n/gpui2ui-settings' into gpui2

Nate Butlera6a50113dab7
diff --cc crates/ui2/src/components/list.rs
index 28d4e59d0cc,8ab1c64e862..8965c80811d
--- a/crates/ui2/src/components/list.rs
+++ b/crates/ui2/src/components/list.rs
@@@ -374,11 -371,11 +371,11 @@@ impl<S: 'static + Send + Sync + Clone>
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
let theme = theme(cx);
- let token = token();
let system_color = SystemColor::new();
let color = ThemeColor::new(cx);
+ let setting = user_settings();
- let left_content = match self.left_content {
+ let left_content = match self.left_content.clone() {
Some(LeftContent::Icon(i)) => Some(
h_stack().child(
IconElement::new(i)