misc logs
This commit is contained in:
@@ -203,7 +203,7 @@ class UserSettingsStore: ObservableObject {
|
|||||||
var internal_libretranslate_api_key: String?
|
var internal_libretranslate_api_key: String?
|
||||||
|
|
||||||
@KeychainStorage(account: "nostr_wallet_connect")
|
@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 {
|
var can_translate: Bool {
|
||||||
switch translation_service {
|
switch translation_service {
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ func nwc_success(zapcache: Zaps, evcache: EventCache, resp: FullWalletResponse)
|
|||||||
if nwc_state.update_state(state: .confirmed) {
|
if nwc_state.update_state(state: .confirmed) {
|
||||||
// notify the zaps model of an update so it can mark them as paid
|
// 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()
|
evcache.get_cache_data(pzap.target.id).zaps_model.objectWillChange.send()
|
||||||
|
print("NWC success confirmed")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user