fix(main): "login via token" input field not displayed (#16)
This commit is contained in:
parent
c17ca03bda
commit
c141e7f4b4
1 changed files with 2 additions and 2 deletions
|
|
@ -98,13 +98,13 @@ func onMessagesTextViewChanged() {
|
|||
}
|
||||
|
||||
func onLoginModalDone(buttonIndex int, buttonLabel string) {
|
||||
loginForm = ui.NewLoginForm(loginVia, onLoginFormLoginButtonSelected)
|
||||
|
||||
if buttonLabel == ui.LoginViaEmailPasswordLoginModalButton {
|
||||
loginVia = "emailpassword"
|
||||
loginForm = ui.NewLoginForm(loginVia, onLoginFormLoginButtonSelected)
|
||||
app.SetRoot(loginForm, true)
|
||||
} else if buttonLabel == ui.LoginViaTokenLoginModalButton {
|
||||
loginVia = "token"
|
||||
loginForm = ui.NewLoginForm(loginVia, onLoginFormLoginButtonSelected)
|
||||
app.SetRoot(loginForm, true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue