taler-ios

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

commit 2d7ffab1dde7f5c0255a0db2e7d4544e4cfd2b55
parent 08b93d6e8e6104c2e0ce6776deaf40d5da47bb97
Author: Marc Stibane <marc@taler.net>
Date:   Thu, 15 Feb 2024 13:46:24 +0100

Sounds Off by default

Diffstat:
MTalerWallet1/Controllers/Controller.swift | 2+-
MTalerWallet1/Views/Main/MainView.swift | 6+++---
MTalerWallet1/Views/Settings/SettingsView.swift | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift @@ -37,7 +37,7 @@ class Controller: ObservableObject { @Published var currencyTicker: Int = 0 // updates whenever a new currency is added @AppStorage("useHaptics") var useHaptics: Bool = true // extension mustn't define this, so it must be here @AppStorage("playSoundsI") var playSoundsI: Int = 1 // extension mustn't define this, so it must be here - @AppStorage("playSoundsB") var playSoundsB: Bool = true + @AppStorage("playSoundsB") var playSoundsB: Bool = false @AppStorage("talerFontIndex") var talerFontIndex: Int = 0 // extension mustn't define this, so it must be here let hapticCapability = CHHapticEngine.capabilitiesForHardware() let logger = Logger(subsystem: "net.taler.gnu", category: "Controller") diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -21,9 +21,9 @@ struct MainView: View { @Binding var soundPlayed: Bool @EnvironmentObject private var controller: Controller - @AppStorage("talerFontIndex") var talerFontIndex: Int = 0 // extension mustn't define this, so it must be here - @AppStorage("playSoundsI") var playSoundsI: Int = 1 // extension mustn't define this, so it must be here - @AppStorage("playSoundsB") var playSoundsB: Bool = true + @AppStorage("talerFontIndex") var talerFontIndex: Int = 0 // extension mustn't define this, so it must be here + @AppStorage("playSoundsI") var playSoundsI: Int = 1 // extension mustn't define this, so it must be here + @AppStorage("playSoundsB") var playSoundsB: Bool = false @State private var sheetPresented = false @State private var urlToOpen: URL? = nil diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift @@ -30,7 +30,7 @@ struct SettingsView: View { #endif @AppStorage("useHaptics") var useHaptics: Bool = true @AppStorage("playSoundsI") var playSoundsI: Int = 1 - @AppStorage("playSoundsB") var playSoundsB: Bool = true + @AppStorage("playSoundsB") var playSoundsB: Bool = false @AppStorage("shouldShowWarning") var shouldShowWarning: Bool = true // @AppStorage("increaseContrast") var increaseContrast: Bool = false @AppStorage("talerFontIndex") var talerFontIndex: Int = 0