commit 4a32f59a58e6daa01bc4d66f422c729eda0686e1
parent 2ec71023a56267c92e0368df09c0ae7fa21bdda5
Author: Marc Stibane <marc@taler.net>
Date: Thu, 11 Jun 2026 16:10:53 +0200
cleanup
Diffstat:
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Controllers/Controller.swift b/TalerWallet1/Controllers/Controller.swift
@@ -242,7 +242,6 @@ class Controller: ObservableObject {
}
}
-
func startObserving() {
let defaults = UserDefaults.standard
self.diagnosticModeObservation = defaults.observe(\.diagnosticModeEnabled, options: [.new, .old,.prior,.initial]) { [weak self](_, _) in
diff --git a/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift b/TalerWallet1/Views/HelperViews/LaunchAnimationView.swift
@@ -43,6 +43,7 @@ struct RotatingTaler: View {
: Text("Taler Logo", comment: "a11y")) // decorative logo - with button function
.rotationEffect(rotationDirection ? Angle(degrees: 0) : Angle(degrees: once ? 900 : 720))
.onReceive(animationTimer) { timerValue in
+// print("Timer: \(timerValue), rotationDirection: \(rotationDirection)")
if rotationEnabled {
if !once {
withAnimation(.easeInOut(duration: 1.5)) {
diff --git a/TalerWallet1/Views/Main/WalletMain.swift b/TalerWallet1/Views/Main/WalletMain.swift
@@ -256,7 +256,7 @@ struct WalletMain: View {
showActionSheet = true
}
- func onActionDrag() {
+ func onActionDrag() { // TODO: gets called multiple times
logger.log("onActionDrag: showScanner = true")
showScanner = true
}