Fix theming issue in SettingInfoMessage

This commit is contained in:
Henrik Rydgård committed 2024-01-31 10:33:23 +01:00
1 parent c7ed87b352
commit 65bfdb1f69
1 file changed
+2 -1
+2 -1
View File
@@ -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
}