From 65bfdb1f69a3c6fa49dd723d49656a5daa5a5fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 31 Jan 2024 10:33:23 +0100 Subject: [PATCH] Fix theming issue in SettingInfoMessage --- UI/MiscScreens.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp index be909da8cb..c978f24f00 100644 --- a/UI/MiscScreens.cpp +++ b/UI/MiscScreens.cpp @@ -1089,7 +1089,8 @@ void SettingInfoMessage::Draw(UIContext &dc) { dc.FillRect(style.background, bounds_); } - text_->SetTextColor(whiteAlpha(alpha)); + uint32_t textColor = colorAlpha(dc.GetTheme().itemStyle.fgColor, alpha); + text_->SetTextColor(textColor); ViewGroup::Draw(dc); showing_ = sinceShow <= timeToShow; // Don't consider fade time }