From d1c623f4c3d72c859f9ad9cb985be127d6a3eb62 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Sat, 2 Sep 2023 16:28:04 +0100 Subject: feat: Add Download Manager (pause, stop, delete) (#1339) --- src/actions/app.ts | 6 ++++++ src/actions/ui.ts | 3 +++ 2 files changed, 9 insertions(+) (limited to 'src/actions') diff --git a/src/actions/app.ts b/src/actions/app.ts index 2e60c9327..07cc47078 100644 --- a/src/actions/app.ts +++ b/src/actions/app.ts @@ -28,4 +28,10 @@ export default { toggleMuteApp: {}, toggleCollapseMenu: {}, clearAllCache: {}, + addDownload: {}, + removeDownload: {}, + updateDownload: {}, + endedDownload: {}, + stopDownload: {}, + togglePauseDownload: {}, }; diff --git a/src/actions/ui.ts b/src/actions/ui.ts index 7d2dbccfa..f496c5c07 100644 --- a/src/actions/ui.ts +++ b/src/actions/ui.ts @@ -5,6 +5,9 @@ export default { openSettings: { path: PropTypes.string, }, + openDownloads: { + path: PropTypes.string, + }, closeSettings: {}, toggleServiceUpdatedInfoBar: { visible: PropTypes.bool, -- cgit v1.2.3-54-g00ecf