mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 19:01:38 +03:00
Added balance control to boost screen
This commit is contained in:
parent
e86166755b
commit
b9048e59b8
@ -284,6 +284,7 @@ class BoostPostScreen extends PureComponent {
|
|||||||
style={styles.button}
|
style={styles.button}
|
||||||
isDisable={
|
isDisable={
|
||||||
(!permlink ? !get(navigationParams, 'permlink') : permlink) &&
|
(!permlink ? !get(navigationParams, 'permlink') : permlink) &&
|
||||||
|
_balance < 150 &&
|
||||||
(isLoading || !isValid)
|
(isLoading || !isValid)
|
||||||
}
|
}
|
||||||
onPress={() => this.startActionSheet.current.show()}
|
onPress={() => this.startActionSheet.current.show()}
|
||||||
|
Loading…
Reference in New Issue
Block a user