mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
Resumable attachment downloads
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user