diff --git a/docs/tutorial/dark-mode.md b/docs/tutorial/dark-mode.md index fee69d5896a7..2bbda10435c7 100644 --- a/docs/tutorial/dark-mode.md +++ b/docs/tutorial/dark-mode.md @@ -154,7 +154,7 @@ function createWindow () { }) ipcMain.handle('dark-mode:system', () => { - nativeTheme.themeSouce = 'system' + nativeTheme.themeSource = 'system' }) }