From 80905f997954d59cd0d7a30d00504234c736e81d Mon Sep 17 00:00:00 2001 From: zoomchan-cxj Date: Mon, 19 Apr 2021 11:51:38 +0800 Subject: [PATCH] fix(hippy-react): demo rm ios color anim --- examples/hippy-react-demo/src/modules/Animation/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hippy-react-demo/src/modules/Animation/index.jsx b/examples/hippy-react-demo/src/modules/Animation/index.jsx index 5dc2ae6a3..49990ae62 100644 --- a/examples/hippy-react-demo/src/modules/Animation/index.jsx +++ b/examples/hippy-react-demo/src/modules/Animation/index.jsx @@ -388,7 +388,7 @@ export default class AnimationExample extends React.Component { this.textColorRef = ref; }} style={[styles.colorText, { // TODO iOS暂不支持文字颜色渐变动画 - color: this.txtColorAnimationSet, + color: Platform.OS === 'android' ? this.txtColorAnimationSet : 'white', }]}>颜色渐变背景和文字