mirror of
https://github.com/jkocon/g-helper.git
synced 2026-04-17 13:10:26 +02:00
App dark/light theme detection https://github.com/seerge/g-helper/issues/1092
This commit is contained in:
@@ -71,7 +71,7 @@ namespace GHelper.UI
|
||||
|
||||
public bool InitTheme(bool setDPI = false)
|
||||
{
|
||||
bool newDarkTheme = CheckSystemDarkModeStatus();
|
||||
bool newDarkTheme = IsDarkTheme();
|
||||
bool changed = darkTheme != newDarkTheme;
|
||||
darkTheme = newDarkTheme;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user