[Refactoring] [Attempt to fix crash]

This commit is contained in:
Scott E. Graves
2019-06-15 20:20:37 -05:00
parent 81303d68dd
commit 6941f8370a
8 changed files with 39 additions and 15 deletions

View File

@@ -1,15 +1,20 @@
import {createReducer} from 'redux-starter-kit';
import {setAllowDownload, SET_DOWNLOAD_BEGIN, setDownloadEnd, setDownloadProgress} from '../actions/download_actions';
import {
setAllowDownload,
SET_DOWNLOAD_BEGIN,
setDownloadEnd,
setDownloadProgress
} from '../actions/download_actions';
const defaultDownloadState = {
DownloadActive: false,
DownloadProgress: 0.0,
DownloadingDependency: false,
DownloadName: '',
DownloadType: null,
DownloadingRelease: false,
DownloadingUpgrade: false,
DownloadName: '',
DownloadProgress: 0.0,
DownloadResult: null,
DownloadingUpgrade: false
DownloadType: null,
};
export const downloadReducer = createReducer({