Skip to content

Commit 3e22d5b

Browse files
authored
Updater: Change dark theme changlog text color (winsiderss#1138)
1 parent 13c1438 commit 3e22d5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/Updater/options.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,10 @@ INT_PTR CALLBACK TextDlgProc(
621621
if (PhEqualString(commitHash, shortCommitHash, TRUE))
622622
{
623623
newFont = context->ListViewBoldFont;
624-
customDraw->clrText = RGB(0, 0, 0x0);
624+
if (PhGetIntegerSetting(L"EnableThemeSupport"))
625+
customDraw->clrText = RGB(125, 125, 125);
626+
else
627+
customDraw->clrText = GetSysColor(COLOR_WINDOWTEXT);
625628
SelectFont(customDraw->nmcd.hdc, newFont);
626629
}
627630

0 commit comments

Comments
 (0)