gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 03/30: Dismiss keyboard


From: gnunet
Subject: [taler-taler-ios] 03/30: Dismiss keyboard
Date: Sun, 19 Nov 2023 23:53:27 +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 ad9c37680281ac2987a4b59ed9c16a20c21d89d7
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Nov 16 02:01:21 2023 +0100

    Dismiss keyboard
---
 TalerWallet1/Helper/View+dismissTop.swift | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/TalerWallet1/Helper/View+dismissTop.swift 
b/TalerWallet1/Helper/View+dismissTop.swift
index 46ea8c7..3d11bd0 100644
--- a/TalerWallet1/Helper/View+dismissTop.swift
+++ b/TalerWallet1/Helper/View+dismissTop.swift
@@ -42,3 +42,10 @@ extension View {
         }
     }
 }
+// MARK: -
+extension View {
+    @MainActor
+    static func endEditing() {
+        UIApplication.shared.windows.forEach { $0.endEditing(true) }
+    }
+}

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