Remove duplicate ThemeColor defs
This commit is contained in:
@@ -36,7 +36,6 @@ impl<S: 'static + Send + Sync> Breadcrumb<S> {
|
|||||||
cx: &mut ViewContext<S>,
|
cx: &mut ViewContext<S>,
|
||||||
) -> impl Element<ViewState = S> {
|
) -> impl Element<ViewState = S> {
|
||||||
let color = ThemeColor::new(cx);
|
let color = ThemeColor::new(cx);
|
||||||
let color = ThemeColor::new(cx);
|
|
||||||
|
|
||||||
let symbols_len = self.symbols.len();
|
let symbols_len = self.symbols.len();
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ impl<S: 'static + Send + Sync> CollabPanel<S> {
|
|||||||
|
|
||||||
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
||||||
let color = ThemeColor::new(cx);
|
let color = ThemeColor::new(cx);
|
||||||
let color = ThemeColor::new(cx);
|
|
||||||
|
|
||||||
v_stack()
|
v_stack()
|
||||||
.id(self.id.clone())
|
.id(self.id.clone())
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ impl<S: 'static + Send + Sync> ProjectPanel<S> {
|
|||||||
|
|
||||||
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
fn render(&mut self, _view: &mut S, cx: &mut ViewContext<S>) -> impl Element<ViewState = S> {
|
||||||
let color = ThemeColor::new(cx);
|
let color = ThemeColor::new(cx);
|
||||||
let color = ThemeColor::new(cx);
|
|
||||||
|
|
||||||
div()
|
div()
|
||||||
.id(self.id.clone())
|
.id(self.id.clone())
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ impl TitleBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element<ViewState = Self> {
|
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element<ViewState = Self> {
|
||||||
let color = ThemeColor::new(cx);
|
|
||||||
let color = ThemeColor::new(cx);
|
let color = ThemeColor::new(cx);
|
||||||
let settings = user_settings(cx);
|
let settings = user_settings(cx);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user