commit 8bb4c549a98f961df46eba67a825d6962adf66fa
parent 0ac4955a5cfa12f162a2a1c7187f6bf9bad5b66a
Author: Marc Stibane <marc@taler.net>
Date: Sun, 13 Apr 2025 09:28:48 +0200
currencyName
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/OIM/OIMView.swift b/TalerWallet1/Views/OIM/OIMView.swift
@@ -22,7 +22,7 @@ fileprivate func intValue(_ amount: Amount?) -> UInt64 {
struct OIMnavBack<Content: View>: View {
let stack: CallStack
let scope: ScopeInfo?
- let currStr: String
+ let currencyName: String
@Binding var amount: Amount
@Binding var buttonSelected: Bool
var content: () -> Content
@@ -30,7 +30,7 @@ struct OIMnavBack<Content: View>: View {
@Environment(\.dismiss) var dismiss // call dismiss() to pop back
var body: some View {
- OIMbackground(amount: amount, currencyName: currStr) {
+ OIMbackground(amount: amount, currencyName: currencyName) {
ZStack {
content()
VStack {
@@ -164,7 +164,7 @@ struct OIMEditView: View {
OIMnavBack(stack: stack.push(),
scope: scope,
- currStr: currency.noteBase,
+ currencyName: currency.noteBase,
amount: $amount,
buttonSelected: $buttonSelected
) {
@@ -219,7 +219,7 @@ struct OIMSubjectView: View {
OIMnavBack(stack: stack.push(),
scope: scope,
- currStr: currency.noteBase,
+ currencyName: currency.noteBase,
amount: $amount,
buttonSelected: $buttonSelected
) {