mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Code cleanup
This commit is contained in:
1 parent
c97b479779
commit
f071871695
73 files changed
+372
-364
No files matched your search
@@ -9,11 +9,6 @@ namespace Artemis.UI.Utilities
|
||||
{
|
||||
public class ThemeWatcher
|
||||
{
|
||||
public ThemeWatcher()
|
||||
{
|
||||
WatchTheme();
|
||||
}
|
||||
|
||||
public enum WindowsTheme
|
||||
{
|
||||
Light,
|
||||
@@ -24,6 +19,11 @@ namespace Artemis.UI.Utilities
|
||||
|
||||
private const string RegistryValueName = "AppsUseLightTheme";
|
||||
|
||||
public ThemeWatcher()
|
||||
{
|
||||
WatchTheme();
|
||||
}
|
||||
|
||||
public void WatchTheme()
|
||||
{
|
||||
var currentUser = WindowsIdentity.GetCurrent();
|
||||
|
||||
Reference in new issue
Block a user