logout: clear keypair on logout
Fixes: #12 Reported-by: Jeff Thibault (github:jeffthibault) Changelog-Fixed: Logging out now resets your keypair and actually logs out Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -36,6 +36,7 @@ struct MainView: View {
|
||||
}
|
||||
}
|
||||
.onReceive(handle_notify(.logout)) { _ in
|
||||
clear_keypair()
|
||||
keypair = nil
|
||||
}
|
||||
.onAppear {
|
||||
|
||||
Reference in New Issue
Block a user