diff options
| author | Jeff Carr <[email protected]> | 2019-05-24 20:54:09 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-24 20:54:09 -0700 |
| commit | fdd473b23b562bb247375f47a12988118802cd9b (patch) | |
| tree | 0a09ad7fa9354645771b0db0cce5d3a38246ee14 /addAccount.go | |
| parent | da315467cc0311bf436306274b2434656276bf81 (diff) | |
single CreateButton function
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addAccount.go')
| -rw-r--r-- | addAccount.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addAccount.go b/addAccount.go index 6324ed8..23fd0ac 100644 --- a/addAccount.go +++ b/addAccount.go @@ -9,12 +9,12 @@ func AddAccountQuestionBox(junk *ui.Box, custom func(*ButtonMap)) *ui.Box { newbox := ui.NewVerticalBox() newbox.SetPadded(true) - newButton := CreateButton("Create New Account", "DONE", custom) + newButton := CreateButton(nil, nil, "Create New Account", "DONE", custom) newbox.Append(newButton, false) newbox.Append(ui.NewHorizontalSeparator(), false) - okButton := CreateButton("I Have an Account", "DONE", custom) + okButton := CreateButton(nil, nil, "I Have an Account", "DONE", custom) newbox.Append(okButton, false) return newbox @@ -119,10 +119,10 @@ func AddAccountBox(custom func(*ButtonMap)) *ui.Box { hboxButtons.SetPadded(true) vbox.Append(hboxButtons, false) - okButton := CreateButton("Add Account", "ADD", custom) + okButton := CreateButton(nil, nil, "Add Account", "ADD", custom) hboxButtons.Append(okButton, false) - backButton := CreateButton("Back", "BACK", custom) + backButton := CreateButton(nil, nil, "Back", "BACK", custom) hboxButtons.Append(backButton, false) return vbox |
