add the main tab

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-22 21:02:02 -07:00
parent 28e4b48a26
commit a05d7b4a19
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ func buttonClick(i int, s string) {
return
} else if (gui.Data.State == "account1") {
gui.ShowAccountTab()
gui.Data.State = "account2"
gui.Data.State = "main"
} else if (gui.Data.State == "main") {
gui.ShowMainTab()
gui.Data.State = "done"
}
}