From 4ddfc14d29424e0168945571364eadf3eddbae76 Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Thu, 18 Jun 2015 20:15:59 -0700 Subject: [PATCH] Fixed stickers --- React/Modules/RCTUIManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/Modules/RCTUIManager.m b/React/Modules/RCTUIManager.m index 873265479..770bc0580 100644 --- a/React/Modules/RCTUIManager.m +++ b/React/Modules/RCTUIManager.m @@ -1332,7 +1332,7 @@ RCT_EXPORT_METHOD(clearJSResponder) }, } mutableCopy]; - for (RCTViewManager *manager in _viewManagers) { + for (RCTViewManager *manager in _viewManagers.allValues) { if (RCTClassOverridesInstanceMethod([manager class], @selector(customBubblingEventTypes))) { NSDictionary *eventTypes = [manager customBubblingEventTypes]; for (NSString *eventName in eventTypes) { @@ -1393,7 +1393,7 @@ RCT_EXPORT_METHOD(clearJSResponder) }, } mutableCopy]; - for (RCTViewManager *manager in _viewManagers) { + for (RCTViewManager *manager in _viewManagers.allValues) { if (RCTClassOverridesInstanceMethod([manager class], @selector(customDirectEventTypes))) { NSDictionary *eventTypes = [manager customDirectEventTypes]; for (NSString *eventName in eventTypes) {