Skip to content

Commit

Permalink
✨ Quick syntax change
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet authored May 8, 2021
1 parent 09ddde3 commit bb24149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb24149

Please sign in to comment.