Fixed stickers

This commit is contained in:
Nick Lockwood 2015-06-18 20:15:59 -07:00
parent 7d62b6077b
commit 4ddfc14d29
1 changed files with 2 additions and 2 deletions

View File

@ -1332,7 +1332,7 @@ RCT_EXPORT_METHOD(clearJSResponder)
}, },
} mutableCopy]; } mutableCopy];
for (RCTViewManager *manager in _viewManagers) { for (RCTViewManager *manager in _viewManagers.allValues) {
if (RCTClassOverridesInstanceMethod([manager class], @selector(customBubblingEventTypes))) { if (RCTClassOverridesInstanceMethod([manager class], @selector(customBubblingEventTypes))) {
NSDictionary *eventTypes = [manager customBubblingEventTypes]; NSDictionary *eventTypes = [manager customBubblingEventTypes];
for (NSString *eventName in eventTypes) { for (NSString *eventName in eventTypes) {
@ -1393,7 +1393,7 @@ RCT_EXPORT_METHOD(clearJSResponder)
}, },
} mutableCopy]; } mutableCopy];
for (RCTViewManager *manager in _viewManagers) { for (RCTViewManager *manager in _viewManagers.allValues) {
if (RCTClassOverridesInstanceMethod([manager class], @selector(customDirectEventTypes))) { if (RCTClassOverridesInstanceMethod([manager class], @selector(customDirectEventTypes))) {
NSDictionary *eventTypes = [manager customDirectEventTypes]; NSDictionary *eventTypes = [manager customDirectEventTypes];
for (NSString *eventName in eventTypes) { for (NSString *eventName in eventTypes) {