gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 186/204: bounce


From: gnunet
Subject: [taler-taler-ios] 186/204: bounce
Date: Thu, 05 Dec 2024 23:52:34 +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 4c5c968ee348b92793277a53746f49636362cc8e
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Dec 4 07:09:25 2024 +0100

    bounce
---
 TalerWallet1/Controllers/PublicConstants.swift  | 2 +-
 TalerWallet1/Views/HelperViews/TabBarView.swift | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Controllers/PublicConstants.swift 
b/TalerWallet1/Controllers/PublicConstants.swift
index 66324a7..f9a336f 100644
--- a/TalerWallet1/Controllers/PublicConstants.swift
+++ b/TalerWallet1/Controllers/PublicConstants.swift
@@ -14,7 +14,7 @@ public let HUF_4217 = "HUF"             // ISO-4217 Hungarian 
Forint
 public let TAPPED = 4                   // how often you need to tap on the 
Actions button before it loses its label
 public let DRAGGED = 2                  // #times to drag to stop the 
auto-dragging
 public let DRAGDELAY = 0.5
-public let DRAGDURATION = 0.25
+public let DRAGDURATION = 0.45
 public let DRAGSPEED = 0.1
 public let MAXRECENT = 4                // # of rows in Recent Transactions
 
diff --git a/TalerWallet1/Views/HelperViews/TabBarView.swift 
b/TalerWallet1/Views/HelperViews/TabBarView.swift
index c6b210a..69313d9 100644
--- a/TalerWallet1/Views/HelperViews/TabBarView.swift
+++ b/TalerWallet1/Views/HelperViews/TabBarView.swift
@@ -102,6 +102,9 @@ struct TabBarView: View {
                 offset.height = -50
             }
             withAnimation(Animation.easeOut(duration: 
DRAGSPEED).delay(DRAGDELAY + DRAGDURATION + DRAGSPEED)) {
+                offset.height = 10
+            }
+            withAnimation(Animation.easeOut(duration: 
DRAGSPEED/2).delay(DRAGDELAY + DRAGDURATION + 2.5*DRAGSPEED)) {
                 offset.height = 0
             }
         }

-- 
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]