Added balance control to boost screen

This commit is contained in:
Mustafa Buyukcelebi 2019-08-06 16:01:19 +03:00
parent e1e2c8f928
commit 770378e3e3

View File

@ -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()}