mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
Added balance control to boost screen
This commit is contained in:
parent
e1e2c8f928
commit
770378e3e3
@ -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