link to publish page
This commit is contained in:
parent
bb883397fc
commit
543a818002
3 changed files with 5 additions and 4 deletions
|
@ -8,6 +8,7 @@ import Colors from 'styles/colors';
|
||||||
import Icon from 'react-native-vector-icons/FontAwesome5';
|
import Icon from 'react-native-vector-icons/FontAwesome5';
|
||||||
import Link from 'component/link';
|
import Link from 'component/link';
|
||||||
import walletStyle from 'styles/wallet';
|
import walletStyle from 'styles/wallet';
|
||||||
|
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
claimsBalance: number,
|
claimsBalance: number,
|
||||||
|
@ -29,7 +30,7 @@ class WalletBalanceExtra extends React.PureComponent<Props> {
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { claimsBalance, deviceWalletSynced, supportsBalance, tipsBalance } = this.props;
|
const { claimsBalance, deviceWalletSynced, navigation, supportsBalance, tipsBalance } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={walletStyle.balanceExtra}>
|
<View style={walletStyle.balanceExtra}>
|
||||||
|
@ -67,7 +68,7 @@ class WalletBalanceExtra extends React.PureComponent<Props> {
|
||||||
<Link
|
<Link
|
||||||
style={walletStyle.earnTipsLink}
|
style={walletStyle.earnTipsLink}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
// navigation.navigate({ })
|
navigation.navigate({ routeName: Constants.DRAWER_ROUTE_PUBLISH });
|
||||||
}}
|
}}
|
||||||
text={__('Earn more tips by uploading cool videos')}
|
text={__('Earn more tips by uploading cool videos')}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -102,7 +102,7 @@ class SubscriptionsPage extends React.PureComponent {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sdkReady && this.state.showRewardsNag && user && !user.is_reward_approved) {
|
if (sdkReady && this.state.usdExchangeRate > 0 && this.state.showRewardsNag && user && !user.is_reward_approved) {
|
||||||
this.showRewardsAvailable();
|
this.showRewardsAvailable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ class WalletPage extends React.PureComponent {
|
||||||
>
|
>
|
||||||
{!rewardsNotInterested && (!balance || balance === 0) && <WalletRewardsDriver navigation={navigation} />}
|
{!rewardsNotInterested && (!balance || balance === 0) && <WalletRewardsDriver navigation={navigation} />}
|
||||||
<WalletBalance />
|
<WalletBalance />
|
||||||
<WalletBalanceExtra />
|
<WalletBalanceExtra navigation={navigation} />
|
||||||
<WalletAddress />
|
<WalletAddress />
|
||||||
<WalletSend />
|
<WalletSend />
|
||||||
<TransactionListRecent navigation={navigation} />
|
<TransactionListRecent navigation={navigation} />
|
||||||
|
|
Loading…
Reference in a new issue