fix: wallet encryption status

for the settings page
This commit is contained in:
Thomas Zarebczan 2019-10-17 11:36:39 -04:00
parent e90056aedd
commit eaea420aad
2 changed files with 6 additions and 6 deletions

6
dist/bundle.es.js vendored
View file

@ -2458,11 +2458,11 @@ function doWalletStatus() {
type: WALLET_STATUS_START
});
lbryProxy.status().then(status => {
if (status && status.wallet) {
lbryProxy.wallet_status().then(status => {
if (status) {
dispatch({
type: WALLET_STATUS_COMPLETED,
result: status.wallet.is_encrypted
result: status.is_encrypted
});
}
});

View file

@ -352,11 +352,11 @@ export function doWalletStatus() {
type: ACTIONS.WALLET_STATUS_START,
});
Lbry.status().then(status => {
if (status && status.wallet) {
Lbry.wallet_status().then(status => {
if (status) {
dispatch({
type: ACTIONS.WALLET_STATUS_COMPLETED,
result: status.wallet.is_encrypted,
result: status.is_encrypted,
});
}
});