mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 10:52:16 +03:00
updated a bit
This commit is contained in:
parent
9e7b5cf7f8
commit
03026ea6ec
@ -259,18 +259,18 @@ class UpvoteView extends Component {
|
|||||||
<Fragment>
|
<Fragment>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
closePopover();
|
closePopover();
|
||||||
this._upvoteContent();
|
this._upvoteContent();
|
||||||
}}
|
}}
|
||||||
style={styles.upvoteButton}
|
style={styles.upvoteButton}
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
size={20}
|
size={20}
|
||||||
style={[styles.upvoteIcon, { color: '#007ee5' }]}
|
style={[styles.upvoteIcon, { color: '#007ee5' }]}
|
||||||
active={!isLoggedIn}
|
active={!isLoggedIn}
|
||||||
iconType={iconType}
|
iconType={iconType}
|
||||||
name={iconName}
|
name={iconName}
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<Text style={styles.amount}>{_amount}</Text>
|
<Text style={styles.amount}>{_amount}</Text>
|
||||||
<Slider
|
<Slider
|
||||||
@ -281,10 +281,10 @@ class UpvoteView extends Component {
|
|||||||
thumbTintColor="#007ee5"
|
thumbTintColor="#007ee5"
|
||||||
value={sliderValue}
|
value={sliderValue}
|
||||||
onValueChange={(value) => {
|
onValueChange={(value) => {
|
||||||
this.setState({ sliderValue: value }, () => {
|
this.setState({ sliderValue: value }, () => {
|
||||||
this._calculateEstimatedAmount();
|
this._calculateEstimatedAmount();
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Text style={styles.percent}>{_percent}</Text>
|
<Text style={styles.percent}>{_percent}</Text>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
Loading…
Reference in New Issue
Block a user