mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
3&4 fixes for Payjoin (#2358)
* fix: update Payjoin transaction details list item type to `TransactionDetailsListItem` * fix: add error handling for unrecoverable Payjoin sender sessions * fix: centralize Payjoin connectivity error handling with `_isPayjoinConnectivityError` function
This commit is contained in:
@@ -27,7 +27,7 @@ abstract class PayjoinDetailsViewModelBase with Store {
|
||||
this.transactionInfo, {
|
||||
required this.payjoinSessionSource,
|
||||
required this.themeStore,
|
||||
}) : items = ObservableList<StandartListItem>(),
|
||||
}) : items = ObservableList<TransactionDetailsListItem>(),
|
||||
payjoinSession = payjoinSessionSource.get(payjoinSessionId)! {
|
||||
listener = payjoinSessionSource.watch().listen((e) {
|
||||
if (e.key == payjoinSessionId) _updateItems();
|
||||
|
||||
Reference in New Issue
Block a user