taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 01d342fb5d99632c4125922a305acaad56bd3d7c
parent 5c14e7ecf9cbabe75b2ca9d8209062922fdefa26
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 24 Apr 2025 14:18:08 +0200

cleanup

Diffstat:
MTalerWallet1/Views/Actions/Peer2peer/SendAmountV.swift | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Views/Actions/Peer2peer/SendAmountV.swift b/TalerWallet1/Views/Actions/Peer2peer/SendAmountV.swift @@ -76,6 +76,7 @@ struct SendAmountV: View { let navTitle = SendAmountView.navTitle(currencySymbol, currencyInfo.hasSymbol) let count = controller.balances.count let _ = symLog.log("count = \(count)") + let taskID = balanceIndex + (1000 * controller.currencyTicker) let scrollView = ScrollView { if count > 0 { ScopePicker(value: $balanceIndex, @@ -103,7 +104,7 @@ struct SendAmountV: View { .frame(maxWidth: .infinity, alignment: .leading) .background(WalletColors().backgroundColor.edgesIgnoringSafeArea(.all)) .task { await viewDidLoad() } - .task(id: balanceIndex + (1000 * controller.currencyTicker)) { await newBalance() } + .task(id: taskID) { await newBalance() } #if OIM .overlay { if #available(iOS 16.4, *) {