mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-01 08:28:08 +02:00
This call already happens inside Login
This commit is contained in:
parent
105c7b9fe8
commit
3b7fc7173d
@ -52,7 +52,6 @@ class AccountStateViewModel() : ViewModel() {
|
||||
Account(Persona(Hex.decode(key)))
|
||||
}
|
||||
|
||||
LocalPreferences.updatePrefsForLogin(account)
|
||||
login(account)
|
||||
}
|
||||
|
||||
@ -64,7 +63,6 @@ class AccountStateViewModel() : ViewModel() {
|
||||
|
||||
fun newKey() {
|
||||
val account = Account(Persona())
|
||||
LocalPreferences.updatePrefsForLogin(account)
|
||||
login(account)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user