weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cxf...@apache.org
Subject [3/3] incubator-weex git commit: * [ios] fix attribute for useCoreText
Date Tue, 02 May 2017 09:31:40 GMT
* [ios] fix attribute for useCoreText


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

Branch: refs/heads/0.13-dev
Commit: 50f6f8fd1b3b4a100ec718f476921360daa5d69b
Parents: 601b6e4
Author: acton393 <zhangxing610321@gmail.com>
Authored: Tue May 2 16:42:59 2017 +0800
Committer: acton393 <zhangxing610321@gmail.com>
Committed: Tue May 2 16:42:59 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/50f6f8fd/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index c2fb5da..eb96157 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -150,7 +150,7 @@ CGFloat WXTextDefaultLineThroughWidth = 1.2;
 - (BOOL)useCoreText
 {
     
-    if ([_useCoreTextAttr isEqualToString:@"yes"]) {
+    if ([_useCoreTextAttr isEqualToString:@"true"]) {
         return YES;
     }
     if ([_useCoreTextAttr isEqualToString:@"false"]) {


Mime
View raw message