* [iOS] use boolValue about the config

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3ed7e1d0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3ed7e1d0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3ed7e1d0

Branch: refs/heads/master
Commit: 3ed7e1d0559d69fa6077b5128acc7ffb52e56381
Parents: bf2c3bc
Author: acton393 <[email protected]>
Authored: Wed Dec 20 22:33:41 2017 +0800
Committer: acton393 <[email protected]>
Committed: Wed Dec 20 22:33:41 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3ed7e1d0/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m 
b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
index 5882fcd..e205208 100644
--- a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
+++ b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
@@ -448,7 +448,7 @@ _Pragma("clang diagnostic pop") \
     id configCenter = [WXSDKEngine 
handlerForProtocol:@protocol(WXConfigCenterProtocol)];
     BOOL shoudMultiContext = NO;
     if ([configCenter 
respondsToSelector:@selector(configForKey:defaultValue:isDefault:)]) {
-        shoudMultiContext = [configCenter 
configForKey:@"iOS_weex_ext_config.createInstanceUsingMutliContext" 
defaultValue:@(NO) isDefault:NULL];
+        shoudMultiContext = [[configCenter 
configForKey:@"iOS_weex_ext_config.createInstanceUsingMutliContext" 
defaultValue:@(NO) isDefault:NULL] boolValue];
     }
     __weak typeof(self) weakSelf = self;
     JSContext *globalContex = ([(JSContext*)weakSelf.jsBridge 
valueForKey:@"jsContext"]);

Reply via email to