Added balance control to boost screen

This commit is contained in:
Mustafa Buyukcelebi 2019-08-06 16:01:19 +03:00
parent e86166755b
commit b9048e59b8

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