taler-ios

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

commit 4c00b40f9f2dfff795b3c130e9903105d7159e25
parent 51f7a43d8a7f99f972184bd96ddcab2a2b77121f
Author: Marc Stibane <marc@taler.net>
Date:   Fri, 12 Jul 2024 23:24:32 +0200

VIEW_OVERVIEW

Diffstat:
MTalerWallet1/Controllers/DebugViewC.swift | 7++++---
MTalerWallet1/Views/Overview/OverviewListV.swift | 9+++++++--
2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Controllers/DebugViewC.swift b/TalerWallet1/Controllers/DebugViewC.swift @@ -27,10 +27,11 @@ import os.log // MARK: - Main View public let VIEW_EMPTY_WALLET = 10 // 10 WalletEmptyView public let VIEW_BALANCES = VIEW_EMPTY_WALLET + 1 // 11 BalancesListView -public let VIEW_BANKING = VIEW_BALANCES + 1 // 12 ExchangeListView -public let VIEW_SETTINGS = VIEW_BANKING + 1 // 13 SettingsView +public let VIEW_OVERVIEW = VIEW_BALANCES + 1 // 12 ListView +public let VIEW_SETTINGS = VIEW_OVERVIEW + 1 // 13 SettingsView public let VIEW_ABOUT = VIEW_SETTINGS + 1 // 14 AboutView -//public let VIEW_PENDING = VIEW_ABOUT + 1 // 15 PendingOpsListView +public let VIEW_BANKING = VIEW_ABOUT + 1 // 15 ExchangeListView +//public let VIEW_PENDING = VIEW_BANKING + 1 // 16 PendingOpsListView // MARK: Transactions public let VIEW_EMPTY_HISTORY = VIEW_EMPTY_WALLET + 10 // 20 TransactionsEmptyView diff --git a/TalerWallet1/Views/Overview/OverviewListV.swift b/TalerWallet1/Views/Overview/OverviewListV.swift @@ -1,7 +1,12 @@ /* - * This file is part of GNU Taler, ©2022-23 Taler Systems S.A. + * This file is part of GNU Taler, ©2022-24 Taler Systems S.A. * See LICENSE.md */ +/** + * Overview when there's more than 1 currency/exchange + * + * @author Marc Stibane + */ import SwiftUI import taler_swift import SymLog @@ -58,7 +63,7 @@ struct OverviewListV: View { shouldReloadBalances: $shouldReloadBalances) } .onAppear() { - DebugViewC.shared.setViewID(VIEW_BALANCES, stack: stack.push("onAppear")) + DebugViewC.shared.setViewID(VIEW_OVERVIEW, stack: stack.push("onAppear")) } .listStyle(myListStyle.style).anyView }