commit cbe3536070e5a0477cefbca871d93db8bc97dd49
parent d9d5eb3122fe7ec9b01ab56b1ac68625795317cb
Author: Marc Stibane <marc@taler.net>
Date: Fri, 14 Aug 2026 17:41:42 +0200
demoHints
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Balances/BalancesListView.swift b/TalerWallet1/Views/Balances/BalancesListView.swift
@@ -22,6 +22,7 @@ struct BalancesListView: View {
@EnvironmentObject private var controller: Controller
@Environment(\.accessibilityVoiceOverEnabled) private var voiceOverEnabled
@AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
+ @AppStorage("demoHints") var demoHints: Bool = true
@AppStorage("preferredColorScheme") var preferredColorScheme: Int = 0
@AppStorage("oimEuro") var oimEuro: Bool = false
@@ -44,7 +45,7 @@ struct BalancesListView: View {
func balancesList() -> some View {
let count = controller.balances.count
let list = List {
- if !controller.haveProdBalance && !controller.defaultExchanges.isEmpty {
+ if !controller.haveProdBalance && !controller.defaultExchanges.isEmpty && demoHints {
ProdSectionView(stack: stack.push(),
showRealCashHint: $showRealCashHint,
isEmpty: false,