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 {
|
||||
match self.state.get() {
|
||||
State::Idle => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self.state.get(), State::Idle)
|
||||
}
|
||||
|
||||
fn playlist_count(&self) -> i64 {
|
||||
|
@ -714,7 +711,7 @@ mod imp {
|
|||
{
|
||||
css.push_str(&format!("--background-color-{i}: {color}; "));
|
||||
}
|
||||
css.push_str("}");
|
||||
css.push('}');
|
||||
|
||||
window.imp().css_provider.load_from_string(&css);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue