fix displayed wallet custody message when signed in
This commit is contained in:
parent
47c6fb5889
commit
aa5dd878c0
2 changed files with 5 additions and 5 deletions
2
android
2
android
|
@ -1 +1 @@
|
||||||
Subproject commit cbc4a662e670941b1c82aa6846ac56923c30af2f
|
Subproject commit ff30e7f6a4358fd997a9e6d9f75bfe6959eafcb6
|
|
@ -1,14 +1,14 @@
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { selectClaimsBalance, selectSupportsBalance, selectTipsBalance } from 'lbry-redux';
|
import { selectClaimsBalance, selectSupportsBalance, selectTipsBalance } from 'lbry-redux';
|
||||||
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
||||||
import WalletBalanceExtra from './view';
|
import WalletBalanceExtra from './view';
|
||||||
|
import Constants from 'constants'; // eslint-disable-line node/no-deprecated-api
|
||||||
|
|
||||||
const select = state => ({
|
const select = state => ({
|
||||||
claimsBalance: selectClaimsBalance(state) || 0,
|
claimsBalance: selectClaimsBalance(state) || 0,
|
||||||
|
deviceWalletSynced: makeSelectClientSetting(Constants.SETTING_DEVICE_WALLET_SYNCED)(state),
|
||||||
supportsBalance: selectSupportsBalance(state) || 0,
|
supportsBalance: selectSupportsBalance(state) || 0,
|
||||||
tipsBalance: selectTipsBalance(state) || 0,
|
tipsBalance: selectTipsBalance(state) || 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(select, null)(WalletBalanceExtra);
|
||||||
select,
|
|
||||||
null,
|
|
||||||
)(WalletBalanceExtra);
|
|
||||||
|
|
Loading…
Reference in a new issue