notify: switch over to new typesafe notifications
This commit is contained in:
@@ -141,7 +141,7 @@ struct SaveKeysView: View {
|
||||
|
||||
do {
|
||||
try save_keypair(pubkey: account.pubkey, privkey: account.privkey)
|
||||
notify(.login, account.keypair)
|
||||
notify(.login(account.keypair))
|
||||
} catch {
|
||||
self.error = "Failed to save keys"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user