mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-02 02:05:11 +00:00
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.')} />
|
<CopyableText label={__('Your Address')} copyable={receiveAddress} snackMessage={__('Address copied.')} />
|
||||||
|
|
||||||
<div className="card__actions">
|
<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} />
|
<Button button="link" label={showQR ? __('Hide QR code') : __('Show QR code')} onClick={this.toggleQR} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,13 @@ import WalletSend from 'component/walletSend';
|
||||||
import WalletAddress from 'component/walletAddress';
|
import WalletAddress from 'component/walletAddress';
|
||||||
import TransactionListRecent from 'component/transactionListRecent';
|
import TransactionListRecent from 'component/transactionListRecent';
|
||||||
import Page from 'component/page';
|
import Page from 'component/page';
|
||||||
import UnsupportedOnWeb from 'component/common/unsupported-on-web';
|
|
||||||
|
|
||||||
const WalletPage = () => (
|
const WalletPage = () => (
|
||||||
<Page>
|
<Page>
|
||||||
<UnsupportedOnWeb />
|
<WalletBalance />
|
||||||
<div className={IS_WEB && 'card--disabled'}>
|
<WalletSend />
|
||||||
<WalletBalance />
|
<WalletAddress />
|
||||||
<WalletSend />
|
<TransactionListRecent />
|
||||||
<WalletAddress />
|
|
||||||
<TransactionListRecent />
|
|
||||||
</div>
|
|
||||||
</Page>
|
</Page>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue