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",
"json-loader": "^0.5.4",
"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",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",

View file

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

View file

@ -6197,9 +6197,9 @@ lazy-val@^1.0.4:
yargs "^13.2.2"
zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#65346c5977a8d2caabba491865027781a38b0cff:
lbry-redux@lbryio/lbry-redux#09ff7b0b996cbc80b382b271e40d2cec94f85026:
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:
proxy-polyfill "0.1.6"
reselect "^3.0.0"