Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
otociulis committed Nov 19, 2024
1 parent 56e958e commit 0717e11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ const electronAPI = {
ipcRenderer.send(IPC_CHANNELS.OPEN_DEV_TOOLS);
},
DownloadManager: {
onDownloadProgress: (
callback: (progress: DownloadProgressUpdate) => void
) => {
onDownloadProgress: (callback: (progress: DownloadProgressUpdate) => void) => {
ipcRenderer.on(IPC_CHANNELS.DOWNLOAD_PROGRESS, (_event, progress) => callback(progress));
},
startDownload: (url: string, path: string, filename: string): Promise<boolean> => {
Expand Down

0 comments on commit 0717e11

Please sign in to comment.