diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2023-09-02 16:28:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 15:28:04 +0000 |
commit | d1c623f4c3d72c859f9ad9cb985be127d6a3eb62 (patch) | |
tree | e102da856ae328c70e822d60ac53909acd4627b9 /src/actions | |
parent | Downgrade 'electron' to 25.x (diff) | |
download | ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.tar.gz ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.tar.zst ferdium-app-d1c623f4c3d72c859f9ad9cb985be127d6a3eb62.zip |
feat: Add Download Manager (pause, stop, delete) (#1339)
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/app.ts | 6 | ||||
-rw-r--r-- | src/actions/ui.ts | 3 |
2 files changed, 9 insertions, 0 deletions
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 <ActionDefinitions>{ | |||
28 | toggleMuteApp: {}, | 28 | toggleMuteApp: {}, |
29 | toggleCollapseMenu: {}, | 29 | toggleCollapseMenu: {}, |
30 | clearAllCache: {}, | 30 | clearAllCache: {}, |
31 | addDownload: {}, | ||
32 | removeDownload: {}, | ||
33 | updateDownload: {}, | ||
34 | endedDownload: {}, | ||
35 | stopDownload: {}, | ||
36 | togglePauseDownload: {}, | ||
31 | }; | 37 | }; |
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 <ActionDefinitions>{ | |||
5 | openSettings: { | 5 | openSettings: { |
6 | path: PropTypes.string, | 6 | path: PropTypes.string, |
7 | }, | 7 | }, |
8 | openDownloads: { | ||
9 | path: PropTypes.string, | ||
10 | }, | ||
8 | closeSettings: {}, | 11 | closeSettings: {}, |
9 | toggleServiceUpdatedInfoBar: { | 12 | toggleServiceUpdatedInfoBar: { |
10 | visible: PropTypes.bool, | 13 | visible: PropTypes.bool, |