From bb2414972c1ae6936494009bb5dbab1ced21e8f3 Mon Sep 17 00:00:00 2001 From: Nathan Fallet Date: Sat, 8 May 2021 16:07:34 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Quick=20syntax=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ViteMaDose/Views/CentresList/CentresListViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViteMaDose/Views/CentresList/CentresListViewController.swift b/ViteMaDose/Views/CentresList/CentresListViewController.swift index c1ffdf0b..3c60089d 100644 --- a/ViteMaDose/Views/CentresList/CentresListViewController.swift +++ b/ViteMaDose/Views/CentresList/CentresListViewController.swift @@ -60,7 +60,7 @@ class CentresListViewController: UIViewController, Storyboarded { private func openBookingUrl(_ url: URL?) { guard let url = url else { return } - UIApplication.shared.open(url, options: [.universalLinksOnly: true]) { (success) in + UIApplication.shared.open(url, options: [.universalLinksOnly: true]) { success in Haptic.impact(.light).generate() if !success { // Opening the Universal Link did not work, opening in SFSafariWebViewController instead