Fix formatting and summary

This commit is contained in:
Konstantin Gross
2020-05-18 21:01:47 +02:00
parent 7f2269c4bd
commit e77f48b2c5

View File

@@ -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 <see cref="string"/> property that can be 'system', 'light' or 'dark'. It is used to override (<seealso cref="SetThemeSource"/>) and
/// supercede the value that Chromium has chosen to use internally.
/// </summary>
/// <returns></returns>
public Task<string> GetThemeSourceAsync()
{
var taskCompletionSource = new TaskCompletionSource<string>();
@@ -138,8 +136,8 @@ namespace ElectronNET.API
/// <summary>
/// A <see cref="bool"/> 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 <see cref="SetThemeSource"/>.
/// </summary>
public Task<bool> ShouldUseDarkColorsAsync()
{
@@ -226,4 +224,4 @@ namespace ElectronNET.API
private event Action _updated;
}
}
}