Skip to content

Commit 7399164

Browse files
Amend one fix.
1 parent 68404dd commit 7399164

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Windows.Forms/src/System/Windows/Forms/Application.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public static void SetColorMode(SystemColorMode systemColorMode)
286286

287287
if (GetSystemColorModeInternal() > SystemDarkModeDisabled)
288288
{
289-
s_systemColorMode = systemColorMode;
289+
s_systemColorMode = SystemColorMode.Dark;
290290
return;
291291
}
292292

0 commit comments

Comments
 (0)