remove settings_get and balanceSubscribe from web calls

This commit is contained in:
Sean Yesmunt 2019-04-14 23:45:13 -04:00
parent b337fa7158
commit 3e57793406

View file

@ -262,7 +262,7 @@ export function doCheckDaemonVersion() {
// @if TARGET='app' // @if TARGET='app'
Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => { Lbry.version().then(({ lbrynet_version: lbrynetVersion }) => {
// Avoid the incompatible daemon modal if running in dev mode // Avoid the incompatible daemon modal if running in dev mode
// Lets you run a different daemon than the one specified in package.json // Lets you run a different daemon than the one specified in package.json
if (config.lbrynetDaemonVersion === lbrynetVersion) { if (config.lbrynetDaemonVersion === lbrynetVersion) {
return dispatch({ return dispatch({
type: ACTIONS.DAEMON_VERSION_MATCH, type: ACTIONS.DAEMON_VERSION_MATCH,
@ -314,10 +314,10 @@ export function doDaemonReady() {
dispatch(doAuthenticate(appVersion)); dispatch(doAuthenticate(appVersion));
dispatch({ type: ACTIONS.DAEMON_READY }); dispatch({ type: ACTIONS.DAEMON_READY });
dispatch(doFetchDaemonSettings());
dispatch(doBalanceSubscribe());
// @if TARGET='app' // @if TARGET='app'
dispatch(doFetchDaemonSettings());
dispatch(doBalanceSubscribe());
dispatch(doFetchFileInfosAndPublishedClaims()); dispatch(doFetchFileInfosAndPublishedClaims());
if (!selectIsUpgradeSkipped(state)) { if (!selectIsUpgradeSkipped(state)) {
dispatch(doCheckUpgradeAvailable()); dispatch(doCheckUpgradeAvailable());