From ffd41bba908fecc617970cf101d9b63b1db28d40 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 9 Jul 2023 16:19:55 +0200 Subject: Rename MainButton This used to be the only button. This will change soon. --- gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 55730df..8fcfed6 100644 --- a/gui.go +++ b/gui.go @@ -44,7 +44,7 @@ func (l *Limox) draw(e system.FrameEvent) { ), layout.Rigid( func(gtx layout.Context) layout.Dimensions { - btn := material.Button(l.Theme, &l.MainButton, + btn := material.Button(l.Theme, &l.ConnectButton, l.buttonLabel()) return btn.Layout(gtx) }, -- cgit v1.2.3-70-g09d2