misc logs

This commit is contained in:
William Casarin
2023-05-14 00:02:44 -07:00
parent ae4d9ab8ba
commit 8fb5b4f49c
2 changed files with 2 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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
}