broadcast affectsIcon's keys on startup
This commit is contained in:
parent
47eefd1cd2
commit
3713c252a8
2
prefs.js
2
prefs.js
|
@ -184,6 +184,8 @@ var prefs = new function Prefs() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!BG || BG == window) {
|
if (!BG || BG == window) {
|
||||||
|
affectsIcon.forEach(key => this.broadcast(key, values[key], {sync: false}));
|
||||||
|
|
||||||
getSync().get('settings', ({settings: synced} = {}) => {
|
getSync().get('settings', ({settings: synced} = {}) => {
|
||||||
if (synced) {
|
if (synced) {
|
||||||
for (const key in defaults) {
|
for (const key in defaults) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user