Resumable attachment downloads
This commit is contained in:
parent
2c92591b59
commit
38f532cdda
22 changed files with 401 additions and 89 deletions
|
@ -104,6 +104,7 @@ export type IPCEventsCallbacksType = {
|
|||
}>;
|
||||
addCustomColor: (customColor: CustomColorType) => void;
|
||||
addDarkOverlay: () => void;
|
||||
cleanupDownloads: () => Promise<void>;
|
||||
deleteAllData: () => Promise<void>;
|
||||
deleteAllMyStories: () => Promise<void>;
|
||||
editCustomColor: (colorId: string, customColor: CustomColorType) => void;
|
||||
|
@ -533,6 +534,10 @@ export function createIPCEvents(
|
|||
showKeyboardShortcuts: () =>
|
||||
window.reduxActions.globalModals.showShortcutGuideModal(),
|
||||
|
||||
cleanupDownloads: async () => {
|
||||
await ipcRenderer.invoke('cleanup-downloads');
|
||||
},
|
||||
|
||||
deleteAllData: async () => {
|
||||
renderClearingDataView();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue