commit 02ca5592f97f7929752b47cc9c393853c8a4a099
parent 98791656fab31ba332ff6a007522413006f9f422
Author: Marc Stibane <marc@taler.net>
Date: Sun, 9 Aug 2026 18:33:58 +0200
cleanup
Diffstat:
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift b/TalerWallet1/Views/Actions/Banking/DepositSelectV.swift
@@ -62,6 +62,7 @@ struct DepositSelectV: View {
List {
Section {
depositHint
+ .talerFont(.body)
}
if bankAccounts.isEmpty {
Section {
diff --git a/TalerWallet1/Views/OIM/OIMtransactions.swift b/TalerWallet1/Views/OIM/OIMtransactions.swift
@@ -188,7 +188,6 @@ struct OIMtransactions: View {
let scrollBack = count == computedItems.count
// let _ = print("calling HistoryView", count, maxIndex, scrollBack)
if oimChart {
-#if TALER_WALLET
ChartHistoryView(stack: stack.push(),
currency: cash.currency,
shownItems: $shownItems,
@@ -196,7 +195,8 @@ struct OIMtransactions: View {
scrollBack: scrollBack,
maxIndex: maxIndex,
maxValue: chartMaxY)
-#else
+ } else {
+#if TALER_WALLET
ArrowHistoryView(stack: stack.push(),
currency: cash.currency,
shownItems: $shownItems,
@@ -204,8 +204,7 @@ struct OIMtransactions: View {
scrollBack: scrollBack,
maxIndex: maxIndex,
maxValue: chartMaxY)
-#endif
- } else {
+#else
RiverHistoryView(stack: stack.push(),
currency: cash.currency,
shownItems: $shownItems,
@@ -213,6 +212,7 @@ struct OIMtransactions: View {
scrollBack: scrollBack,
maxIndex: maxIndex,
maxValue: chartMaxY)
+#endif
}
}
sidePosition
diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentScan.swift b/TalerWallet1/Views/Sheets/Payment/PaymentScan.swift
@@ -37,7 +37,7 @@ struct PaymentScan: View, Sendable {
@AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic
@State private var currencyInfo: CurrencyInfo = CurrencyInfo.zero(UNKNOWN)
- @State var txId: String? = nil
+ @State private var txId: String? = nil
@State private var elapsed: Int = 0
@State private var talerTX = TalerTransaction(dummyCurrency: DEMOCURRENCY)