Skip to content

Commit

Permalink
Application: don't hardcode theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jul 29, 2024
1 parent b2c74b4 commit 7a21033
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public class Wingpanel.Application : Gtk.Application {
var gtk_settings = Gtk.Settings.get_default ();
gtk_settings.gtk_icon_theme_name = "elementary";

if (!gtk_settings.gtk_theme_name.has_prefix ("io.elementary")) {
gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry";
}

gtk_settings.gtk_application_prefer_dark_theme = granite_settings.prefers_color_scheme == DARK;

granite_settings.notify["prefers-color-scheme"].connect (() => {
Expand Down

0 comments on commit 7a21033

Please sign in to comment.