diff --git a/src/page/subscriptions/view.js b/src/page/subscriptions/view.js index 7f808a8..50e58e0 100644 --- a/src/page/subscriptions/view.js +++ b/src/page/subscriptions/view.js @@ -73,7 +73,7 @@ class SubscriptionsPage extends React.PureComponent { Lbryio.getExchangeRates().then(rates => { if (!isNaN(rates.LBC_USD)) { this.setState({ usdExchangeRate: rates.LBC_USD }, () => { - if (sdkReady) { + if (sdkReady && parseFloat(this.state.usdExchangeRate) > 0) { this.showRewardsAvailable(); } }); @@ -102,7 +102,13 @@ class SubscriptionsPage extends React.PureComponent { }); } - if (sdkReady && this.state.usdExchangeRate > 0 && this.state.showRewardsNag && user && !user.is_reward_approved) { + if ( + sdkReady && + parseFloat(this.state.usdExchangeRate) > 0 && + this.state.showRewardsNag && + user && + !user.is_reward_approved + ) { this.showRewardsAvailable(); } diff --git a/src/styles/wallet.js b/src/styles/wallet.js index a2fef03..6b037df 100644 --- a/src/styles/wallet.js +++ b/src/styles/wallet.js @@ -462,6 +462,7 @@ const walletStyle = StyleSheet.create({ fontSize: 14, color: Colors.LbryGreen, marginTop: 12, + marginRight: 16, }, });