Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [iOS] fix bundleTypeParse && ignoreInteraction flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-chen committed Dec 10, 2018
1 parent bd39c2c commit e45f417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ - (bool)_isParserByRegEx
if ([configCenter respondsToSelector:@selector(configForKey:defaultValue:isDefault:)]) {
useRegEx = [[configCenter configForKey:@"iOS_weex_ext_config.parserTypeByRegEx" defaultValue:@(YES) isDefault:NULL] boolValue];
}
return false;
return useRegEx;
}

- (void)destroyInstance:(NSString *)instance
Expand Down
4 changes: 1 addition & 3 deletions ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ - (void)addComponent:(NSString*)ref
if (supercomponent.ignoreInteraction) {
component.ignoreInteraction = YES;
}
if ([[component.attributes objectForKey:@"ignoreInteraction"] isEqualToString:@"1"]) {
component.ignoreInteraction = YES;
}
component.ignoreInteraction = [[component.attributes objectForKey:@"ignoreInteraction"] boolValue];

#ifdef DEBUG
WXLogDebug(@"flexLayout -> _recursivelyAddComponent : super:(%@,%@):[%f,%f] ,child:(%@,%@):[%f,%f],childClass:%@",
Expand Down

0 comments on commit e45f417

Please sign in to comment.