This commit is contained in:
psykose 2024-11-16 12:51:30 +01:00
parent 2362ca4e7a
commit 729b9ac5f7
Signed by: psykose
SSH key fingerprint: SHA256:pRMVjV3kRB6zl+wNx+sV8KoMnPqQAW6v8dNCxsCGZv8

View file

@ -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);
}