presents wallet info but hides newAddress
This commit is contained in:
parent
65420f6967
commit
06bb1e373f
2 changed files with 12 additions and 9 deletions
|
@ -56,7 +56,14 @@ class WalletAddress extends React.PureComponent<Props, State> {
|
|||
<CopyableText label={__('Your Address')} copyable={receiveAddress} snackMessage={__('Address copied.')} />
|
||||
|
||||
<div className="card__actions">
|
||||
<Button button="inverse" label={__('Get New Address')} onClick={getNewAddress} disabled={gettingNewAddress} />
|
||||
{!IS_WEB && (
|
||||
<Button
|
||||
button="inverse"
|
||||
label={__('Get New Address')}
|
||||
onClick={getNewAddress}
|
||||
disabled={gettingNewAddress}
|
||||
/>
|
||||
)}
|
||||
<Button button="link" label={showQR ? __('Hide QR code') : __('Show QR code')} onClick={this.toggleQR} />
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,17 +4,13 @@ import WalletSend from 'component/walletSend';
|
|||
import WalletAddress from 'component/walletAddress';
|
||||
import TransactionListRecent from 'component/transactionListRecent';
|
||||
import Page from 'component/page';
|
||||
import UnsupportedOnWeb from 'component/common/unsupported-on-web';
|
||||
|
||||
const WalletPage = () => (
|
||||
<Page>
|
||||
<UnsupportedOnWeb />
|
||||
<div className={IS_WEB && 'card--disabled'}>
|
||||
<WalletBalance />
|
||||
<WalletSend />
|
||||
<WalletAddress />
|
||||
<TransactionListRecent />
|
||||
</div>
|
||||
<WalletBalance />
|
||||
<WalletSend />
|
||||
<WalletAddress />
|
||||
<TransactionListRecent />
|
||||
</Page>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue