Skip to content

Commit

Permalink
Fix theming issue in SettingInfoMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 31, 2024
1 parent c7ed87b commit 65bfdb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UI/MiscScreens.cpp
Expand Up @@ -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
}
Expand Down

0 comments on commit 65bfdb1

Please sign in to comment.