个人中心android版下拉刷新去除——review by 于良
Showing
1 changed file
with
0 additions
and
13 deletions
@@ -11,7 +11,6 @@ import ReactNative, { | @@ -11,7 +11,6 @@ import ReactNative, { | ||
11 | TouchableOpacity, | 11 | TouchableOpacity, |
12 | Platform, | 12 | Platform, |
13 | PixelRatio, | 13 | PixelRatio, |
14 | - RefreshControl, | ||
15 | } from 'react-native'; | 14 | } from 'react-native'; |
16 | 15 | ||
17 | import Immutable, {Map} from 'immutable'; | 16 | import Immutable, {Map} from 'immutable'; |
@@ -106,18 +105,6 @@ export default class MineList extends React.Component { | @@ -106,18 +105,6 @@ export default class MineList extends React.Component { | ||
106 | this.props.onMineCenterRefresh && this.props.onMineCenterRefresh(); | 105 | this.props.onMineCenterRefresh && this.props.onMineCenterRefresh(); |
107 | } | 106 | } |
108 | }} | 107 | }} |
109 | - refreshControl= | ||
110 | - { | ||
111 | - profile.uid == '0' || Platform.OS === 'ios' ? null: | ||
112 | - <RefreshControl | ||
113 | - refreshing={false} | ||
114 | - onRefresh={() => { | ||
115 | - this.props.onMineCenterRefresh && this.props.onMineCenterRefresh(); | ||
116 | - }} | ||
117 | - colors={['#000000', '#ff0000']} | ||
118 | - progressBackgroundColor="#ffffff" | ||
119 | - /> | ||
120 | - } | ||
121 | /> | 108 | /> |
122 | </View> | 109 | </View> |
123 | ); | 110 | ); |
-
Please register or login to post a comment