commit e226ef2c42010fbf10f48cb296dcc116bbc4258e parent feafc277eb461110be4e956ef8265090b0bc2f1b Author: Marc Stibane <marc@taler.net> Date: Fri, 12 Dec 2025 08:36:15 +0100 cleanup Diffstat:
4 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdrawDone.swift b/TalerWallet1/Views/Actions/Banking/ManualWithdrawDone.swift @@ -67,7 +67,7 @@ struct ManualWithdrawDone: View { .safeAreaInset(edge: .bottom) { Button("Done") { dismissTop(stack.push()) } .buttonStyle(TalerButtonStyle(type: .prominent)) - .padding(.horizontal) + .padding(.horizontal) } } else { LoadingView(stack: stack.push(), scopeInfo: nil, message: baseURL.trimURL) diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift b/TalerWallet1/Views/Balances/BalancesSectionView.swift @@ -60,9 +60,6 @@ struct BalancesSectionView { filterByState: .final, limit: MAXRECENT, includeRefreshes: false) { -// let recent = WalletModel.completedTransactions(transactions) -// let slice = recent.prefix(MAXRECENT) // already sorted -// withAnimation { recentTransactions = Array(slice) } withAnimation { recentTransactions = transactions } } } @@ -72,8 +69,6 @@ struct BalancesSectionView { scope: balance.scopeInfo, filterByState: .final, includeRefreshes: developerMode) { -// let completed = WalletModel.completedTransactions(transactions) -// withAnimation { completedTransactions = completed } withAnimation { completedTransactions = transactions } } } diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -73,6 +73,7 @@ struct MainView: View { await model.hintApplicationResumedT() } } + var body: some View { #if PRINT_CHANGES let _ = Self._printChanges() diff --git a/TalerWallet1/Views/Transactions/TransactionsListView.swift b/TalerWallet1/Views/Transactions/TransactionsListView.swift @@ -71,7 +71,7 @@ struct TransactionsListView: View { await reloadAllAction(stack.push()) } } else { - Group { +// Group { ScrollViewReader { scrollProxy in let count = transactions.count List { @@ -125,7 +125,7 @@ struct TransactionsListView: View { print("🚩,32TransactionsListView.onAppear() set selectedBalance to", balance.scopeInfo.currency) selectedBalance = balance // set this balance (fix) for send/request/deposit/withdraw } - } +// } #if OIM .overlay { if #available(iOS 16.4, *) { if controller.oimModeActive {