From 330b7849a3b6faf559f904a77dfe92b77c910277 Mon Sep 17 00:00:00 2001 From: ZReC Date: Mon, 7 Jun 2021 23:45:45 -0300 Subject: [PATCH] docs: fix typo (#29553) * Typo fix * Update main.js --- docs/fiddles/features/macos-dark-mode/main.js | 2 +- docs/tutorial/dark-mode.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fiddles/features/macos-dark-mode/main.js b/docs/fiddles/features/macos-dark-mode/main.js index 4f0254e95bd8..9503efb5f9a9 100644 --- a/docs/fiddles/features/macos-dark-mode/main.js +++ b/docs/fiddles/features/macos-dark-mode/main.js @@ -22,7 +22,7 @@ function createWindow () { }) ipcMain.handle('dark-mode:system', () => { - nativeTheme.themeSouce = 'system' + nativeTheme.themeSource = 'system' }) } diff --git a/docs/tutorial/dark-mode.md b/docs/tutorial/dark-mode.md index 5ac69241ebae..bbb2f6381435 100644 --- a/docs/tutorial/dark-mode.md +++ b/docs/tutorial/dark-mode.md @@ -159,7 +159,7 @@ function createWindow () { }) ipcMain.handle('dark-mode:system', () => { - nativeTheme.themeSouce = 'system' + nativeTheme.themeSource = 'system' }) }