diff --git a/src/main/windows/windowManager.ts b/src/main/windows/windowManager.ts index 90cdfa08..e9a566a1 100644 --- a/src/main/windows/windowManager.ts +++ b/src/main/windows/windowManager.ts @@ -227,10 +227,12 @@ export function restoreMain() { export function flashFrame(flash: boolean) { if (process.platform === 'linux' || process.platform === 'win32') { - status.mainWindow?.flashFrame(flash); - if (status.settingsWindow) { - // main might be hidden behind the settings - status.settingsWindow.flashFrame(flash); + if (status.config?.notifications.flashWindow) { + status.mainWindow?.flashFrame(flash); + if (status.settingsWindow) { + // main might be hidden behind the settings + status.settingsWindow.flashFrame(flash); + } } } if (process.platform === 'darwin' && status.config?.notifications.bounceIcon) { diff --git a/src/renderer/components/SettingsPage.tsx b/src/renderer/components/SettingsPage.tsx index 4eb40fa4..f0e11e5f 100644 --- a/src/renderer/components/SettingsPage.tsx +++ b/src/renderer/components/SettingsPage.tsx @@ -239,13 +239,13 @@ export default class SettingsPage extends React.PureComponent