Skip to content

Commit

Permalink
Correct a wrong color change
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Aug 24, 2024
1 parent 89858f8 commit 220fc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ui/widgetpanel.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (w *widgetRenderer) Refresh() {
w.panel.clocks.Objects[0].Show()
w.panel.clocks.Objects[1].Hide()
}
fg := theme.Color(theme.ColorNamePrimary)
fg := theme.Color(theme.ColorNameForeground)
w.panel.clock.Color = fg
w.panel.vClock.Color = fg
canvas.Refresh(w.panel.clock)
Expand Down Expand Up @@ -117,7 +117,7 @@ func (w *widgetPanel) createClock() {
var style fyne.TextStyle
style.Monospace = true

fg := theme.Color(theme.ColorNamePrimary)
fg := theme.Color(theme.ColorNameForeground)
w.clock = &canvas.Text{
Color: fg,
Text: w.formattedTime(),
Expand Down

0 comments on commit 220fc05

Please sign in to comment.