nwc: attach lud16 to profile when attaching wallet
This commit is contained in:
1 parent
a5726d4650
commit
5cce18c8b6
3 files changed
+21
No files matched your search
@@ -53,6 +53,7 @@ class WalletModel: ObservableObject {
|
||||
|
||||
func connect(_ nwc: WalletConnectURL) {
|
||||
self.settings?.nostr_wallet_connect = nwc.to_url().absoluteString
|
||||
notify(.attached_wallet, nwc)
|
||||
self.connect_state = .existing(nwc)
|
||||
self.previous_state = .existing(nwc)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user