mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-08 03:57:48 +00:00
add debug
This commit is contained in:
parent
0324b95759
commit
f996aeeacc
|
@ -99,6 +99,7 @@ class AdwcustomizerApplication(Adw.Application):
|
|||
|
||||
self.style_manager = Adw.StyleManager.get_default()
|
||||
|
||||
print(self.style_manager.get_color_scheme())
|
||||
if self.style_manager.get_color_scheme() == Adw.ColorScheme.DARK:
|
||||
self.load_preset_from_resource(
|
||||
"/com/github/AdwCustomizerTeam/AdwCustomizer/presets/adwaita-dark.json"
|
||||
|
|
Loading…
Reference in a new issue