From 3713c252a82066ac12b4bb0d9de7dcc289a0cd81 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 21 Apr 2017 13:02:01 +0300 Subject: [PATCH] broadcast affectsIcon's keys on startup --- prefs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prefs.js b/prefs.js index b6de008f..c838cf7e 100644 --- a/prefs.js +++ b/prefs.js @@ -184,6 +184,8 @@ var prefs = new function Prefs() { } if (!BG || BG == window) { + affectsIcon.forEach(key => this.broadcast(key, values[key], {sync: false})); + getSync().get('settings', ({settings: synced} = {}) => { if (synced) { for (const key in defaults) {