Refactor ZenWorkspaces.mjs to fix parsing of workspace icons

This commit is contained in:
mauro-balades 2024-09-11 21:07:49 +02:00
parent 831801add3
commit 014161404d

View file

@ -100,7 +100,7 @@ var ZenWorkspaces = {
}
},
_kIcons: JSON.parse(Services-prefs.getStringPref("zen.workspaces.icons", '["🌐", "📁", "📎", "📝", "📅", "📊"]')),
_kIcons: JSON.parse(Services.prefs.getStringPref("zen.workspaces.icons")),
_initializeWorkspaceCreationIcons() {
let container = document.getElementById('PanelUI-zen-workspaces-create-icons-container');