fix: upgrade modal flow

This commit is contained in:
Sean Yesmunt 2018-06-14 12:08:13 -04:00
parent de9c736703
commit 88b4a73fca
3 changed files with 6 additions and 4 deletions

View file

@ -126,7 +126,7 @@
"yarn": "^1.3"
},
"lbrySettings": {
"lbrynetDaemonVersion": "0.20.0rc14",
"lbrynetDaemonVersion": "0.20.0",
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-daemon-vDAEMONVER-OSNAME.zip",
"lbrynetDaemonDir": "static/daemon",
"lbrynetDaemonFileName": "lbrynet-daemon"

View file

@ -1,9 +1,9 @@
import React from 'react';
import { connect } from 'react-redux';
import { doDownloadUpgrade, doSkipUpgrade, doHideNotification } from 'redux/actions/app';
import { doHideNotification } from 'lbry-redux';
import { doDownloadUpgrade, doSkipUpgrade } from 'redux/actions/app';
import ModalUpgrade from './view';
const select = state => ({});
const select = () => ({});
const perform = dispatch => ({
downloadUpgrade: () => dispatch(doDownloadUpgrade()),

View file

@ -10,6 +10,7 @@ import {
doNotify,
selectNotification,
MODALS,
doHideNotification,
} from 'lbry-redux';
import Native from 'native';
import { doFetchRewardedContent } from 'redux/actions/content';
@ -89,6 +90,7 @@ export function doDownloadUpgrade() {
dispatch({
type: ACTIONS.UPGRADE_DOWNLOAD_STARTED,
});
dispatch(doHideNotification());
dispatch(
doNotify({
id: MODALS.DOWNLOADING,