From 858f7fd93cf77bdb7bafbae0f58af6eae1766aec Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 24 May 2019 13:23:50 -0700 Subject: button handling almost completely cleaned up Signed-off-by: Jeff Carr --- addAccount.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addAccount.go') diff --git a/addAccount.go b/addAccount.go index 8b9f395..bfb4720 100644 --- a/addAccount.go +++ b/addAccount.go @@ -5,7 +5,7 @@ import "log" import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" -func AddAccountQuestionBox(junk *ui.Box, custom func(*ButtonMap, string)) *ui.Box { +func AddAccountQuestionBox(junk *ui.Box, custom func(*ButtonMap)) *ui.Box { newbox := ui.NewVerticalBox() newbox.SetPadded(true) @@ -20,7 +20,7 @@ func AddAccountQuestionBox(junk *ui.Box, custom func(*ButtonMap, string)) *ui.Bo return newbox } -func AddAccountBox(custom func(*ButtonMap, string)) *ui.Box { +func AddAccountBox(custom func(*ButtonMap)) *ui.Box { vbox := ui.NewVerticalBox() vbox.SetPadded(true) -- cgit v1.2.3