From 3d5cf4a8f70fd5721910b69edd41f21bc82840a6 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Wed, 22 Feb 2023 19:44:58 +0200 Subject: [PATCH] styles: fixed `AdwStatusPage` background --- src/ui/main.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ui/main.rs b/src/ui/main.rs index e7a2b12..7d32caf 100644 --- a/src/ui/main.rs +++ b/src/ui/main.rs @@ -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]