We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac957a2 commit 15039eeCopy full SHA for 15039ee
src/Application.vala
@@ -14,15 +14,6 @@ public class Dock.Application : Gtk.Application {
14
Granite.init ();
15
ShellKeyGrabber.init ();
16
GalaDBus.init.begin ();
17
-
18
- unowned var granite_settings = Granite.Settings.get_default ();
19
- unowned var gtk_settings = Gtk.Settings.get_default ();
20
21
- granite_settings.notify["prefers-color-scheme"].connect (() =>
22
- gtk_settings.gtk_application_prefer_dark_theme = granite_settings.prefers_color_scheme == DARK
23
- );
24
25
- gtk_settings.gtk_application_prefer_dark_theme = granite_settings.prefers_color_scheme == DARK;
26
}
27
28
protected override void activate () {
0 commit comments