diff --git a/src/hub/reducers.ts b/src/hub/reducers.ts index 1b26b2bb..583482ab 100644 --- a/src/hub/reducers.ts +++ b/src/hub/reducers.ts @@ -120,7 +120,7 @@ const downloadProgress: Reducer = (state = null, action) => { } if (didFinishDownload.matches(action)) { - return 1; + return null; } if (didFailToFinishDownload.matches(action)) { diff --git a/src/hub/sagas.ts b/src/hub/sagas.ts index e3e0343d..aa022f01 100644 --- a/src/hub/sagas.ts +++ b/src/hub/sagas.ts @@ -266,6 +266,8 @@ function* handleDownloadAndRun(action: ReturnType): Gener } } + didProgressDownload(1); + const writeUserMetaMessageId2 = nextMessageId(); yield* put(