add the main tab
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
28e4b48a26
commit
a05d7b4a19
|
@ -22,7 +22,10 @@ func buttonClick(i int, s string) {
|
||||||
return
|
return
|
||||||
} else if (gui.Data.State == "account1") {
|
} else if (gui.Data.State == "account1") {
|
||||||
gui.ShowAccountTab()
|
gui.ShowAccountTab()
|
||||||
gui.Data.State = "account2"
|
gui.Data.State = "main"
|
||||||
|
} else if (gui.Data.State == "main") {
|
||||||
|
gui.ShowMainTab()
|
||||||
|
gui.Data.State = "done"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue