diff --git a/ElectronNET.API/NativeTheme.cs b/ElectronNET.API/NativeTheme.cs index c52374c..a3485cc 100644 --- a/ElectronNET.API/NativeTheme.cs +++ b/ElectronNET.API/NativeTheme.cs @@ -44,7 +44,6 @@ namespace ElectronNET.API string.Equals(themeSource, "light", StringComparison.OrdinalIgnoreCase) || string.Equals(themeSource, "system", StringComparison.OrdinalIgnoreCase); - return result; } @@ -119,7 +118,6 @@ namespace ElectronNET.API /// A property that can be 'system', 'light' or 'dark'. It is used to override () and /// supercede the value that Chromium has chosen to use internally. /// - /// public Task GetThemeSourceAsync() { var taskCompletionSource = new TaskCompletionSource(); @@ -138,8 +136,8 @@ namespace ElectronNET.API /// /// A for if the OS / Chromium currently has a dark mode enabled or is - /// being instructed to show a dark-style UI.If you want to modify this value you - /// should use 'themeSource' below. + /// being instructed to show a dark-style UI. If you want to modify this value you + /// should use . /// public Task ShouldUseDarkColorsAsync() { @@ -226,4 +224,4 @@ namespace ElectronNET.API private event Action _updated; } -} +} \ No newline at end of file