Skip to content

Commit e77f48b

Browse files
Fix formatting and summary
1 parent 7f2269c commit e77f48b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ElectronNET.API/NativeTheme.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ internal bool IsValidThemeSource(string themeSource)
4444
string.Equals(themeSource, "light", StringComparison.OrdinalIgnoreCase) ||
4545
string.Equals(themeSource, "system", StringComparison.OrdinalIgnoreCase);
4646

47-
4847
return result;
4948
}
5049

@@ -119,7 +118,6 @@ public void SetThemeSource(string themeSource)
119118
/// A <see cref="string"/> property that can be 'system', 'light' or 'dark'. It is used to override (<seealso cref="SetThemeSource"/>) and
120119
/// supercede the value that Chromium has chosen to use internally.
121120
/// </summary>
122-
/// <returns></returns>
123121
public Task<string> GetThemeSourceAsync()
124122
{
125123
var taskCompletionSource = new TaskCompletionSource<string>();
@@ -138,8 +136,8 @@ public Task<string> GetThemeSourceAsync()
138136

139137
/// <summary>
140138
/// A <see cref="bool"/> for if the OS / Chromium currently has a dark mode enabled or is
141-
/// being instructed to show a dark-style UI.If you want to modify this value you
142-
/// should use 'themeSource' below.
139+
/// being instructed to show a dark-style UI. If you want to modify this value you
140+
/// should use <see cref="SetThemeSource"/>.
143141
/// </summary>
144142
public Task<bool> ShouldUseDarkColorsAsync()
145143
{
@@ -226,4 +224,4 @@ public event Action Updated
226224

227225
private event Action _updated;
228226
}
229-
}
227+
}

0 commit comments

Comments
 (0)