commit 27a1be1fe14ec9f758d786269cc8a1a341dcf19f
parent 5fd299f24a057a2f68097c2d67b5b9b307da9be5
Author: Marc Stibane <marc@taler.net>
Date: Thu, 22 Oct 2026 07:06:53 +0200
cleanup
Diffstat:
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/TalerWallet1/Views/Settings/DebugSettingsView.swift b/TalerWallet1/Views/Settings/DebugSettingsView.swift
@@ -91,8 +91,9 @@ struct DebugSettingsView: View {
if #available (iOS 16.0, *) {
let localConsStr = String("on LocalConsole")
let observability = String("Observe walletCore")
- SettingsTriState(name: observability, value: $localConsoleO.onChange({ isObserving in
- walletCore.isObserving = isObserving}),
+ SettingsTriState(name: observability,
+ value: $localConsoleO.onChange({ isObserving in
+ walletCore.isObserving = isObserving}),
id1: "observe",
description: localConsStr) { _ in
let consoleManager = LCManager.shared
@@ -100,8 +101,9 @@ struct DebugSettingsView: View {
consoleManager.clear()
}
let showLogs = String("Show logs")
- SettingsToggle(name: showLogs, value: $localConsoleL.onChange({ isLogging in
- walletCore.isLogging = isLogging}),
+ SettingsToggle(name: showLogs,
+ value: $localConsoleL.onChange({ isLogging in
+ walletCore.isLogging = isLogging}),
id1: "localConsoleL",
description: localConsStr) { _ in
let consoleManager = LCManager.shared
diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift
@@ -123,7 +123,8 @@ struct SettingsView: View {
NavigationLink { // whole row like in a tableView
ExchangeListView(stack: stack.push(), url: .constant(nil))
} label: {
- SettingsItem(name: TITLE_EXCHANGES, id1: "exchanges", imageName: EXCHANGE_LOGO,
+ SettingsItem(name: TITLE_EXCHANGES, id1: "exchanges",
+ imageName: EXCHANGE_LOGO,
description: String(localized: "Manage payment services")) {}
}
@@ -134,7 +135,7 @@ struct SettingsView: View {
bankAccountsDest
} label: {
SettingsItem(name: bankAccountsTitle, id1: "bankAccounts",
- imageName: "building.columns",
+ imageName: ICONNAME_BANK,
description: String(localized: "Your accounts for deposit")) {}
}