'Draw attention to this window' option is now defaulted to 'false'
This commit is contained in:
parent
8ac4786040
commit
b062409bb3
3 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -256,7 +256,7 @@ class NotificationService extends EventEmitter {
|
|||
|
||||
const shouldDrawAttention = storage.get(
|
||||
'notification-draw-attention',
|
||||
true
|
||||
false
|
||||
);
|
||||
if (shouldDrawAttention) {
|
||||
log.info('NotificationService: drawing attention');
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Add table
Reference in a new issue