From f447d2bea83c38ada55e04d26b18f8c03ec7fb61 Mon Sep 17 00:00:00 2001 From: Andreas Ganske Date: Sun, 18 Oct 2015 23:45:01 +0200 Subject: [PATCH] Correctly propagate animated flag in FUISwitch setOn:animated: --- Classes/ios/FUISwitch.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/ios/FUISwitch.m b/Classes/ios/FUISwitch.m index 1956591..e4d7ef4 100644 --- a/Classes/ios/FUISwitch.m +++ b/Classes/ios/FUISwitch.m @@ -104,7 +104,7 @@ - (void) setOn:(BOOL)on { } - (void)setOn:(BOOL)on animated:(BOOL)animated { - [self setOn:on animated:NO sendEvent:NO]; + [self setOn:on animated:animated sendEvent:NO]; } - (void)setOn:(BOOL)on animated:(BOOL)animated sendEvent:(BOOL)sendEvent {