You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/10/02 02:53:52 UTC

[05/20] incubator-weex git commit: * [ios] revert nil placeholder value

* [ios] revert nil placeholder value


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

Branch: refs/heads/master
Commit: 05053f02559f9c6cabbfed8858ac4cb1fbb70eb1
Parents: 8eef91f
Author: acton393 <zh...@gmail.com>
Authored: Fri Sep 29 14:54:20 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Sep 29 14:54:20 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/05053f02/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
index 1183e38..90c29a1 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
@@ -376,7 +376,7 @@ WX_EXPORT_METHOD(@selector(save:))
 {
     NSString *placeholderSrc = self.placeholdSrc;
     
-    if (!placeholderSrc || [WXUtility isBlankString:placeholderSrc]) {
+    if ([WXUtility isBlankString:placeholderSrc]) {
         return;
     }