mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01: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