From 0ca2ed2511f55c5db05a0e72f6d07b8442bd8180 Mon Sep 17 00:00:00 2001 From: Derek Yang Date: Fri, 22 Sep 2023 17:42:26 +0800 Subject: [PATCH] Update ButtonBinding.swift --- test-app/ios-uikit/TestApp/ButtonBinding.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-app/ios-uikit/TestApp/ButtonBinding.swift b/test-app/ios-uikit/TestApp/ButtonBinding.swift index e4ea479304..583624a330 100644 --- a/test-app/ios-uikit/TestApp/ButtonBinding.swift +++ b/test-app/ios-uikit/TestApp/ButtonBinding.swift @@ -48,7 +48,7 @@ class ButtonBinding: Button { @objc func clicked() { if (self.onClick != nil) { - self.onClick() + self.onClick?() } } }