Use default instead of muted color
This commit is contained in:
parent
3541dd8a6d
commit
c40e45e4d7
1 changed files with 1 additions and 6 deletions
|
@ -25,11 +25,7 @@ impl Render for DiagnosticIndicator {
|
||||||
let diagnostic_indicator = match (self.summary.error_count, self.summary.warning_count) {
|
let diagnostic_indicator = match (self.summary.error_count, self.summary.warning_count) {
|
||||||
(0, 0) => h_stack().map(|this| {
|
(0, 0) => h_stack().map(|this| {
|
||||||
if !self.in_progress_checks.is_empty() {
|
if !self.in_progress_checks.is_empty() {
|
||||||
this.child(
|
this.child(IconElement::new(Icon::ArrowCircle).size(IconSize::Small))
|
||||||
IconElement::new(Icon::ArrowCircle)
|
|
||||||
.size(IconSize::Small)
|
|
||||||
.color(Color::Muted),
|
|
||||||
)
|
|
||||||
} else {
|
} else {
|
||||||
this.child(
|
this.child(
|
||||||
IconElement::new(Icon::Check)
|
IconElement::new(Icon::Check)
|
||||||
|
@ -74,7 +70,6 @@ impl Render for DiagnosticIndicator {
|
||||||
Some(
|
Some(
|
||||||
Label::new("Checking…")
|
Label::new("Checking…")
|
||||||
.size(LabelSize::Small)
|
.size(LabelSize::Small)
|
||||||
.color(Color::Muted)
|
|
||||||
.into_any_element(),
|
.into_any_element(),
|
||||||
)
|
)
|
||||||
} else if let Some(diagnostic) = &self.current_diagnostic {
|
} else if let Some(diagnostic) = &self.current_diagnostic {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue