switch timer text to blue
- reword the rounds break taking suggestion
This commit is contained in:
parent
4db9ec34dc
commit
52c5b782d8
4
main.go
4
main.go
@ -79,7 +79,7 @@ func main() {
|
|||||||
reminderText.TextStyle = fyne.TextStyle{Bold: true}
|
reminderText.TextStyle = fyne.TextStyle{Bold: true}
|
||||||
reminderText.Alignment = fyne.TextAlignCenter
|
reminderText.Alignment = fyne.TextAlignCenter
|
||||||
|
|
||||||
timerText := canvas.NewText("", color.Black)
|
timerText := canvas.NewText("", blue)
|
||||||
timerText.TextSize = 50
|
timerText.TextSize = 50
|
||||||
timerText.TextStyle = fyne.TextStyle{Bold: true}
|
timerText.TextStyle = fyne.TextStyle{Bold: true}
|
||||||
timerText.Alignment = fyne.TextAlignCenter
|
timerText.Alignment = fyne.TextAlignCenter
|
||||||
@ -134,7 +134,7 @@ func main() {
|
|||||||
rounds++
|
rounds++
|
||||||
|
|
||||||
if rounds > 3 {
|
if rounds > 3 {
|
||||||
roundsText.Text = fmt.Sprintf("%d rounds! Take a break!", rounds)
|
roundsText.Text = fmt.Sprintf("%d rounds! Take an extended break!", rounds)
|
||||||
} else {
|
} else {
|
||||||
roundsText.Text = fmt.Sprintf("Rounds: %d", rounds)
|
roundsText.Text = fmt.Sprintf("Rounds: %d", rounds)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user