commit 704fb15bd84f3efe99af9b82093914e7dde2caa2
parent 53b82a77ea06fe7f03c31d6d281e7e1fa4224b68
Author: Marc Stibane <marc@taler.net>
Date: Wed, 16 Sep 2026 11:44:04 +0200
shouldReloadPending ?
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/Main/WalletMain.swift b/TalerWallet1/Views/Main/WalletMain.swift
@@ -47,7 +47,6 @@ struct WalletMain: View {
@State private var shouldReloadBalances = 0
@State private var shouldReloadTransactions = 0
-// @State private var shouldReloadPending = 0
@State private var selectedTab: TalerTab = .balances
@State private var showKycAlert: Bool = false
@State private var kycURI: URL?
@@ -372,18 +371,16 @@ struct WalletMain: View {
.onNotification(.TransactionExpired) { notification in
logger.info(".onNotification(.TransactionExpired) ==> reload balances")
shouldReloadTransactions += 1
-// shouldReloadPending += 1
}
.onNotification(.TransactionScanned) {
shouldReloadTransactions += 1
}
.onNotification(.TransactionDone) {
shouldReloadTransactions += 1
-// shouldReloadPending += 1
// selectedTab = .balances // automatically switch to Balances
}
.onNotification(.TransactionError) { notification in
-// shouldReloadPending += 1
+// TODO: reload pending ??
}
.onNotification(.GeneralError) { notification in
if let error = notification.userInfo?[NOTIFICATIONERROR] as? Error {