From e0585bf49c81e30b03a5af205f8092e4c50e12dc Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:15:27 -0400 Subject: [PATCH] no forcy part 1 --- src/main.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4b904d9..2d42d5a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -175,16 +175,6 @@ fn main() { .style_manager() .set_color_scheme(adw::ColorScheme::PreferDark); - // HACK: The app doesn't start up with the "correct" theme, this "hack" "fixes" - // it. - if PROFILE != "Devel" { - if let Err(error) = gio::Settings::new("org.gnome.desktop.interface") - .set_string("gtk-theme", "Yaru-purple-dark") - { - tracing::error!("Error FORCING GTK theme: {error}"); - } - } - let app = RelmApp::from_app(app); app.run::(()); }