From 51b63e3e925224ebe11e3bacfa0d4cde4489b797 Mon Sep 17 00:00:00 2001 From: "pouria.amini" Date: Fri, 16 Aug 2024 10:51:18 -0700 Subject: [PATCH] fix: replace var with let for gestureAction --- Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift b/Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift index 41bb8f4..69e8a2a 100644 --- a/Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift +++ b/Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift @@ -125,7 +125,7 @@ extension UIGestureRecognizer { return } - var gestureAction: String? + let gestureAction: String? switch self { case is UITapGestureRecognizer: gestureAction = "tap"