styles: fixed AdwStatusPage background

This commit is contained in:
Observer KRypt0n_ 2023-02-22 19:44:58 +02:00
parent 76538fbf7d
commit 3d5cf4a8f7
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -79,7 +79,13 @@ impl SimpleComponent for App {
#[watch]
add_css_class: match model.style {
LauncherStyle::Modern => "",
LauncherStyle::Classic => "classic-style"
LauncherStyle::Classic => {
if model.loading.is_none() {
"classic-style"
} else {
""
}
}
},
#[watch]