Subscribe to all UI updates. Fixes #590 & #591 (#593)

* Subscribe to all UI updates. Fixes #590 & #591

* Remove unnecessary subscription to sort changes
This commit is contained in:
Rob Garrison 2018-11-29 19:34:06 -06:00 committed by GitHub
parent 6aaff7aa12
commit 5778ac0d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,12 @@ function initGlobalEvents() {
setupLivePrefs(); setupLivePrefs();
sorter.init(); sorter.init();
prefs.subscribe(['manage.newUI'], () => switchUI()); prefs.subscribe([
'manage.newUI',
'manage.newUI.favicons',
'manage.newUI.faviconsGray',
'manage.newUI.targets',
], () => switchUI());
switchUI({styleOnly: true}); switchUI({styleOnly: true});