fix(ui): Force white text on all enabled module tiles

- Changed Refresh() to always use TextColor for enabled modules
- Previously was calling getContrastColor() which changed text to black on bright backgrounds
- All module tiles now consistently use white text as intended

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stu Leak 2025-12-31 15:21:42 -05:00
parent 5c8ad4e355
commit 2d79b3322d

View File

@ -266,7 +266,7 @@ func (r *moduleTileRenderer) Refresh() {
// Update tile color and text color based on enabled state
if r.tile.enabled {
r.bg.FillColor = r.tile.color
r.label.Color = getContrastColor(r.tile.color)
r.label.Color = TextColor // Always white text for enabled modules
if r.lockIcon != nil {
r.lockIcon.Hide()
}