clippen
This commit is contained in:
parent
2362ca4e7a
commit
729b9ac5f7
1 changed files with 2 additions and 5 deletions
|
@ -448,10 +448,7 @@ mod imp {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn idle_active(&self) -> bool {
|
fn idle_active(&self) -> bool {
|
||||||
match self.state.get() {
|
matches!(self.state.get(), State::Idle)
|
||||||
State::Idle => true,
|
|
||||||
_ => false,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn playlist_count(&self) -> i64 {
|
fn playlist_count(&self) -> i64 {
|
||||||
|
@ -714,7 +711,7 @@ mod imp {
|
||||||
{
|
{
|
||||||
css.push_str(&format!("--background-color-{i}: {color}; "));
|
css.push_str(&format!("--background-color-{i}: {color}; "));
|
||||||
}
|
}
|
||||||
css.push_str("}");
|
css.push('}');
|
||||||
|
|
||||||
window.imp().css_provider.load_from_string(&css);
|
window.imp().css_provider.load_from_string(&css);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue