diff options
| author | Jeff Carr <[email protected]> | 2019-05-24 13:23:50 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-24 13:23:50 -0700 |
| commit | 858f7fd93cf77bdb7bafbae0f58af6eae1766aec (patch) | |
| tree | ef6836c593eeb1def1860fc33e60c110f51e16b5 /addAccount.go | |
| parent | 238c39de36931ad81427d964228cd5bc0c3ea60a (diff) | |
button handling almost completely cleaned up
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addAccount.go')
| -rw-r--r-- | addAccount.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
