From b062409bb3f50e16762280213a6c53c5734d65a8 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 31 Jan 2023 18:03:44 -0800 Subject: [PATCH] 'Draw attention to this window' option is now defaulted to 'false' --- package.json | 2 +- ts/services/notifications.ts | 2 +- ts/util/createIPCEvents.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 782abbe18f..856fd3c844 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "browserslist": "last 1 chrome versions", "main": "app/main.js", "scripts": { - "postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps && rimraf node_modules/dtrace-provider", + "postinstall": "yarn build:acknowledgments && patch-package && yarn electron:install-app-deps", "postuninstall": "yarn build:acknowledgments", "start": "electron .", "generate": "npm-run-all build-protobuf build:esbuild sass get-expire-time copy-components", diff --git a/ts/services/notifications.ts b/ts/services/notifications.ts index 9650e85ff4..3ace09c813 100644 --- a/ts/services/notifications.ts +++ b/ts/services/notifications.ts @@ -256,7 +256,7 @@ class NotificationService extends EventEmitter { const shouldDrawAttention = storage.get( 'notification-draw-attention', - true + false ); if (shouldDrawAttention) { log.info('NotificationService: drawing attention'); diff --git a/ts/util/createIPCEvents.ts b/ts/util/createIPCEvents.ts index 36c9513984..7466ffdb4e 100644 --- a/ts/util/createIPCEvents.ts +++ b/ts/util/createIPCEvents.ts @@ -325,7 +325,7 @@ export function createIPCEvents( setNotificationSetting: (value: 'message' | 'name' | 'count' | 'off') => window.storage.put('notification-setting', value), getNotificationDrawAttention: () => - window.storage.get('notification-draw-attention', true), + window.storage.get('notification-draw-attention', false), setNotificationDrawAttention: value => window.storage.put('notification-draw-attention', value), getAudioNotification: () => window.storage.get('audio-notification'),