Fix login form & keyring

This commit is contained in:
ayn2op 2023-01-21 00:18:49 +05:30
parent d7a590108b
commit 8920daf0d0
2 changed files with 0 additions and 7 deletions

View file

@ -69,12 +69,6 @@ func (lf *LoginForm) onLoginButtonSelected() {
log.Fatal(err)
}
discordState = newState(token)
err = discordState.Open(context.Background())
if err != nil {
log.Fatal(err)
}
right := tview.NewFlex()
right.SetDirection(tview.FlexRow)
right.AddItem(messagesText, 0, 1, false)

View file

@ -60,7 +60,6 @@ func main() {
token, err = keyring.Get(config.Name, "token")
if err != nil {
log.Println(err)
return
}
}