Skip to content

Commit

Permalink
Merge pull request #11 from Strosel/theme
Browse files Browse the repository at this point in the history
Removed GOOS string from rules
  • Loading branch information
Strosel authored Sep 3, 2020
2 parents ea94f43 + b36cdfc commit 9a3ff24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewRules.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (v *viewRules) Layout(gtx Ctx, th *material.Theme) (nextScreen Screen) {
if i == 0 && runtime.GOOS == "android" {
return layout.Inset{Top: unit.Dp(16)}.Layout(gtx, material.H6(th, "Regler").Layout)
} else if i == 0 {
bttn := material.Button(th, v.cancelClick, "← Regler"+runtime.GOOS)
bttn := material.Button(th, v.cancelClick, "← Regler")
bttn.Color = colornames.Black
bttn.Background = color.RGBA{255, 255, 255, 255}
bttn.TextSize = material.H6(th, "").TextSize
Expand Down

0 comments on commit 9a3ff24

Please sign in to comment.