save the private key to the keychain and not user defaults
This commit is contained in:
@@ -36,7 +36,7 @@ struct MainView: View {
|
||||
}
|
||||
}
|
||||
.onReceive(handle_notify(.logout)) { _ in
|
||||
clear_keypair()
|
||||
try? clear_keypair()
|
||||
keypair = nil
|
||||
}
|
||||
.onAppear {
|
||||
|
||||
Reference in New Issue
Block a user