Skip to content

Commit

Permalink
update type signature for update event from electron
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Feb 9, 2025
1 parent 76945cf commit 90415ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main-process/app-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class AppWindow {
registerWindowStateChangedEvents(this.window)
this.window.loadURL(encodePathAsUrl(__dirname, 'index.html'))

nativeTheme.addListener('updated', (event: string, userInfo: any) => {
nativeTheme.addListener('updated', () => {
ipcWebContents.send(this.window.webContents, 'native-theme-updated')
})

Expand Down

0 comments on commit 90415ff

Please sign in to comment.