mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Implemented a mechanism to cancel the pending NIP-46 handshake when the user clicks 'Cancel' in the login modal. - Added `pendingHandshakeCancel` callback to `NostrClient` to reject the handshake promise. - Updated `LoginModalController` to invoke `disconnectRemoteSigner` on cancellation. - Prevented `onLoginError` callback from triggering when the error code is `login-cancelled`. Co-authored-by: PR0M3TH3AN <[email protected]>