fix bug in sync

This commit is contained in:
jessop 2020-02-21 12:05:49 -05:00
parent 04774dfe22
commit 0bbebb186e
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -1627,7 +1627,7 @@ function doPopulateSharedUserState(sharedSettings) {
const { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P } = extractUserState(sharedSettings); const { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P } = extractUserState(sharedSettings);
dispatch({ dispatch({
type: USER_STATE_POPULATE, type: USER_STATE_POPULATE,
data: { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P } data: { subscriptions, tags, blocked, settings, welcomeVersion: app_welcome_version, tvWelcomeVersion: tv_welcome_version, allowAnalytics: sharing_3P }
}); });
}; };
} }

View file

@ -38,7 +38,7 @@ export function doPopulateSharedUserState(sharedSettings: any) {
const { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P } = extractUserState(sharedSettings); const { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P } = extractUserState(sharedSettings);
dispatch({ dispatch({
type: ACTIONS.USER_STATE_POPULATE, type: ACTIONS.USER_STATE_POPULATE,
data: { subscriptions, tags, blocked, settings, app_welcome_version, tv_welcome_version, sharing_3P }, data: { subscriptions, tags, blocked, settings, welcomeVersion: app_welcome_version, tvWelcomeVersion: tv_welcome_version, allowAnalytics: sharing_3P },
}); });
}; };
} }