mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 17:42:45 +08:00
Fix for Warning CA1822 Member 'GetHighContrastBaseType' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ThemeManager.cs 65 Active
This commit is contained in:
parent
35fccf8af8
commit
d1ca30a28f
@ -62,7 +62,7 @@ namespace Wox.Core.Resource
|
||||
}
|
||||
|
||||
|
||||
public Theme GetHighContrastBaseType()
|
||||
public static Theme GetHighContrastBaseType()
|
||||
{
|
||||
string RegistryKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes";
|
||||
string theme = (string) Registry.GetValue(RegistryKey, "CurrentTheme", string.Empty);
|
||||
|
Loading…
Reference in New Issue
Block a user