From b3d3a1a45415c67cff861794a8569c2735b23901 Mon Sep 17 00:00:00 2001 From: Anthony Date: Tue, 17 Aug 2021 22:51:39 +0200 Subject: [PATCH] mostly done with doing the iteration --- ui/component/walletBalance/view.jsx | 29 +++++++++++++++ ui/component/walletFiatBalance/view.jsx | 48 ------------------------- ui/page/wallet/view.jsx | 5 +-- 3 files changed, 30 insertions(+), 52 deletions(-) diff --git a/ui/component/walletBalance/view.jsx b/ui/component/walletBalance/view.jsx index 6746d5c36..777ee838c 100644 --- a/ui/component/walletBalance/view.jsx +++ b/ui/component/walletBalance/view.jsx @@ -10,6 +10,8 @@ import Card from 'component/common/card'; import LbcSymbol from 'component/common/lbc-symbol'; import I18nMessage from 'component/i18nMessage'; import { formatNumberWithCommas } from 'util/number'; +import Icon from 'component/common/icon'; + type Props = { balance: number, @@ -63,6 +65,7 @@ const WalletBalance = (props: Props) => { }, [doFetchUtxoCounts, balance, detailsExpanded]); return ( +
} subtitle={ @@ -181,6 +184,32 @@ const WalletBalance = (props: Props) => { } /> + + 32 USD} + subtitle={32 && + + This is your pending balance that will be automatically sent to your bank account + + } + actions={ + <> +

+ $32 Total Received Tips +

+ +

+ $0 Withdrawn +

+ +
+
+ + } + /> +
); }; diff --git a/ui/component/walletFiatBalance/view.jsx b/ui/component/walletFiatBalance/view.jsx index 9c71623ba..a91b5ecd7 100644 --- a/ui/component/walletFiatBalance/view.jsx +++ b/ui/component/walletFiatBalance/view.jsx @@ -32,57 +32,9 @@ const WalletBalance = (props: Props) => {

${(accountDetails && (accountDetails.total_paid_out / 100)) || 0} Withdrawn - {/*

- {/* view more section */} - {/* commenting out because not implemented, but could be used in the future */} - {/* {detailsExpanded && ( */} - {/*
*/} - {/*
*/} - {/*
*/} - {/* {__('Earned from uploads')} */} - {/* /!* ({__('Earned from channel page')}) *!/ */} - {/*
*/} - {/*
*/} - {/* */} - {/* {Boolean(1) && ( */} - {/*
*/} - - {/*
*/} - {/* {__('Earned from channel page')} */} - {/* /!* ({__('Delete or edit past content to spend')}) *!/ */} - {/*
*/} - {/*
*/} - {/* */} - {/*
*/} - - {/* /!*
*!/ */} - {/* /!* {__('...supporting content')} *!/ */} - {/* /!* ({__('Delete supports to spend')}) *!/ */} - {/* /!*
*!/ */} - {/* /!*
*!/ */} - {/* /!* *!/ */} - {/* /!*
*!/ */} - {/*
*/} - {/*
*/} - {/* )} */} -
- {/*
diff --git a/ui/page/wallet/view.jsx b/ui/page/wallet/view.jsx index 38332f361..cd5f487be 100644 --- a/ui/page/wallet/view.jsx +++ b/ui/page/wallet/view.jsx @@ -159,6 +159,7 @@ const WalletPage = (props: Props) => { <> {/* @if TARGET='web' */} + {__('LBRY Credits')} @@ -182,7 +183,6 @@ const WalletPage = (props: Props) => { ) : (
-
)} @@ -193,13 +193,11 @@ const WalletPage = (props: Props) => {
-
-
@@ -220,7 +218,6 @@ const WalletPage = (props: Props) => { ) : (
-
)}