gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 18/25: Default for Sound & Haptics ON


From: gnunet
Subject: [taler-taler-ios] 18/25: Default for Sound & Haptics ON
Date: Mon, 06 Nov 2023 20:40:25 +0100

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit 0b63d481541d5c0d8f7b9572bb3671ca06502b75
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 5 00:01:28 2023 +0100

    Default for Sound & Haptics ON
---
 TalerWallet1/Controllers/Controller.swift      | 4 ++--
 TalerWallet1/Views/Settings/SettingsView.swift | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/TalerWallet1/Controllers/Controller.swift 
b/TalerWallet1/Controllers/Controller.swift
index 788438c..fe55625 100644
--- a/TalerWallet1/Controllers/Controller.swift
+++ b/TalerWallet1/Controllers/Controller.swift
@@ -34,8 +34,8 @@ class Controller: ObservableObject {
 
     @Published var backendState: BackendState = .none       // only used for 
launch animation
     @Published var currencyInfos: [CurrencyInfo]
-    @AppStorage("useHaptics") var useHaptics: Bool = false  // extension 
mustn't define this, so it must be here
-    @AppStorage("playSounds") var playSounds: Int = 0       // extension 
mustn't define this, so it must be here
+    @AppStorage("useHaptics") var useHaptics: Bool = true   // extension 
mustn't define this, so it must be here
+    @AppStorage("playSounds") var playSounds: Int = 1       // extension 
mustn't define this, so it must be here
     @AppStorage("talerFont") var talerFont: 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/Settings/SettingsView.swift 
b/TalerWallet1/Views/Settings/SettingsView.swift
index b3d45d2..17d0186 100644
--- a/TalerWallet1/Views/Settings/SettingsView.swift
+++ b/TalerWallet1/Views/Settings/SettingsView.swift
@@ -28,8 +28,8 @@ struct SettingsView: View {
 #else
     @AppStorage("developerMode") var developerMode: Bool = false
 #endif
-    @AppStorage("useHaptics") var useHaptics: Bool = false
-    @AppStorage("playSounds") var playSounds: Int = 0
+    @AppStorage("useHaptics") var useHaptics: Bool = true
+    @AppStorage("playSounds") var playSounds: Int = 1
     @AppStorage("talerFont") var talerFont: Int = 0
     @AppStorage("developDelay") var developDelay: Bool = false
     @AppStorage("myListStyle") var myListStyle: MyListStyle = .automatic

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]