diff --git a/damus/Models/UserSettingsStore.swift b/damus/Models/UserSettingsStore.swift index bc77dd22..2e6d181e 100644 --- a/damus/Models/UserSettingsStore.swift +++ b/damus/Models/UserSettingsStore.swift @@ -203,7 +203,7 @@ class UserSettingsStore: ObservableObject { var internal_libretranslate_api_key: String? @KeychainStorage(account: "nostr_wallet_connect") - var nostr_wallet_connect: String? + var nostr_wallet_connect: String? // TODO: strongly type this to WalletConnectURL var can_translate: Bool { switch translation_service { diff --git a/damus/Util/WalletConnect.swift b/damus/Util/WalletConnect.swift index c1780048..f612ac36 100644 --- a/damus/Util/WalletConnect.swift +++ b/damus/Util/WalletConnect.swift @@ -212,6 +212,7 @@ func nwc_success(zapcache: Zaps, evcache: EventCache, resp: FullWalletResponse) if nwc_state.update_state(state: .confirmed) { // notify the zaps model of an update so it can mark them as paid evcache.get_cache_data(pzap.target.id).zaps_model.objectWillChange.send() + print("NWC success confirmed") } return }