Przeglądaj źródła

refactor: use keyringServiceName constant

ayntgl 4 lat temu
rodzic
commit
b2d67eeacc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -51,7 +51,7 @@ func main() {
 				app.DrawMainFlex()
 				app.SetFocus(app.GuildsList)
 
-				go keyring.Set("discordo", "token", lr.Token)
+				go keyring.Set(keyringServiceName, "token", lr.Token)
 			} else {
 				// The account has MFA enabled, reattempt login with MFA code and ticket.
 				mfaLoginForm := ui.NewLoginForm(true)