change balance loading string to 'Your Wallet'

This commit is contained in:
Sean Yesmunt 2020-05-26 22:14:18 -04:00
parent f5805721e7
commit d4e2f8ffe8
3 changed files with 6 additions and 5 deletions

View file

@ -133,7 +133,7 @@
"imagesloaded": "^4.1.4", "imagesloaded": "^4.1.4",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git", "lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#65346c5977a8d2caabba491865027781a38b0cff", "lbry-redux": "lbryio/lbry-redux#09ff7b0b996cbc80b382b271e40d2cec94f85026",
"lbryinc": "lbryio/lbryinc#8bdf1ac44d03cef9d798df92e3192a4591845f17", "lbryinc": "lbryio/lbryinc#8bdf1ac44d03cef9d798df92e3192a4591845f17",
"lint-staged": "^7.0.2", "lint-staged": "^7.0.2",
"localforage": "^1.7.1", "localforage": "^1.7.1",

View file

@ -108,8 +108,9 @@ const Header = (props: Props) => {
} }
function getWalletTitle() { function getWalletTitle() {
return hideBalance ? ( console.log('rounded', roundedBalance);
__('Wallet') return hideBalance || Number(roundedBalance) === 0 ? (
__('Your Wallet')
) : ( ) : (
<React.Fragment> <React.Fragment>
{roundedBalance} <LbcSymbol /> {roundedBalance} <LbcSymbol />

View file

@ -6197,9 +6197,9 @@ lazy-val@^1.0.4:
yargs "^13.2.2" yargs "^13.2.2"
zstd-codec "^0.1.1" zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#65346c5977a8d2caabba491865027781a38b0cff: lbry-redux@lbryio/lbry-redux#09ff7b0b996cbc80b382b271e40d2cec94f85026:
version "0.0.1" version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/65346c5977a8d2caabba491865027781a38b0cff" resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/09ff7b0b996cbc80b382b271e40d2cec94f85026"
dependencies: dependencies:
proxy-polyfill "0.1.6" proxy-polyfill "0.1.6"
reselect "^3.0.0" reselect "^3.0.0"