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:
Konstantin Ullrich
2025-07-04 02:40:12 +03:00
committed by GitHub
parent f1acc43927
commit d9fc4d7b57
3 changed files with 21 additions and 13 deletions
@@ -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();