diff --git a/ui/component/app/index.js b/ui/component/app/index.js index 4726fe72c..39bc71e01 100644 --- a/ui/component/app/index.js +++ b/ui/component/app/index.js @@ -7,6 +7,7 @@ import { selectUnclaimedRewards } from 'redux/selectors/rewards'; import { doFetchChannelListMine, doFetchCollectionListMine, doResolveUris } from 'redux/actions/claims'; import { selectMyChannelUrls, selectMyChannelClaimIds } from 'redux/selectors/claims'; import * as SETTINGS from 'constants/settings'; +import * as MODALS from 'constants/modal_types'; import { selectSubscriptions } from 'redux/selectors/subscriptions'; import { makeSelectClientSetting, @@ -24,7 +25,7 @@ import { import { doGetWalletSyncPreference, doSetLanguage } from 'redux/actions/settings'; import { doSyncLoop } from 'redux/actions/sync'; import { - doDownloadUpgradeRequested, + doOpenModal, doSignIn, doGetAndPopulatePreferences, doSetActiveChannel, @@ -60,7 +61,7 @@ const perform = (dispatch) => ({ fetchCollectionListMine: () => dispatch(doFetchCollectionListMine()), setLanguage: (language) => dispatch(doSetLanguage(language)), signIn: () => dispatch(doSignIn()), - requestDownloadUpgrade: () => dispatch(doDownloadUpgradeRequested()), + requestDownloadUpgrade: () => dispatch(doOpenModal(MODALS.UPGRADE)), updatePreferences: () => dispatch(doGetAndPopulatePreferences()), getWalletSyncPref: () => dispatch(doGetWalletSyncPreference()), syncLoop: (noInterval) => dispatch(doSyncLoop(noInterval)),