You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2017/04/11 13:40:59 UTC

[4/6] incubator-weex git commit: + [ios] delete no use code

+ [ios] delete no use code


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

Branch: refs/heads/0.12-dev
Commit: cddebfb70fbe149bdfb6d24a68548a280bd3ca95
Parents: 1a4c907
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 10 13:33:48 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Mon Apr 10 13:33:48 2017 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cddebfb7/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m b/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
index fb29d55..2933115 100644
--- a/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
+++ b/ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m
@@ -295,7 +295,7 @@ WX_EXPORT_METHOD(@selector(pickTime:callback:))
     self.index = row;
     if(self.selectionColor) {
         UILabel *labelSelected = (UILabel*)[pickerView viewForRow:row forComponent:component];
-        [labelSelected setBackgroundColor:self.selectionColor?self.selectionColor:[UIColor whiteColor]];
+        [labelSelected setBackgroundColor:self.selectionColor];
     }
 }