Remove unused doSyncWithPreferences

This commit is contained in:
infinite-persistence 2021-12-13 22:21:24 +08:00
parent 06bfe60c54
commit 3bce2e656f
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -42,7 +42,7 @@ import {
} from 'redux/selectors/app';
import { selectDaemonSettings, selectClientSetting } from 'redux/selectors/settings';
import { selectUser, selectUserVerifiedEmail } from 'redux/selectors/user';
import { doSyncLoop, doSetPrefsReady, doPreferenceGet, doPopulateSharedUserState } from 'redux/actions/sync';
import { doSetPrefsReady, doPreferenceGet, doPopulateSharedUserState } from 'redux/actions/sync';
import { doAuthenticate } from 'redux/actions/user';
import { lbrySettings as config, version as appVersion } from 'package.json';
import analytics, { SHARE_INTERNAL } from 'analytics';
@ -674,10 +674,6 @@ export function doHandleSyncComplete(error, hasNewData) {
};
}
export function doSyncWithPreferences() {
return (dispatch) => dispatch(doSyncLoop());
}
export function doToggleInterestedInYoutubeSync() {
return {
type: ACTIONS.TOGGLE_YOUTUBE_SYNC_INTEREST,