1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 04:25:31 +02:00

Refactor ZenCustomizableUI.sys.mjs and zen-sidebar-icons.inc.xhtml

This commit is contained in:
mauro-balades 2024-09-28 22:10:37 +02:00
parent ffcf2a040c
commit 4d019067ef
4 changed files with 7 additions and 13 deletions

View file

@ -18,7 +18,8 @@ export var ZenCustomizableUI = new class {
"preferences-button", "zen-expand-sidebar-button", "zen-profile-button"
],
defaultCollapsed: null,
}
},
true
);
CustomizableUIInternal.registerArea(
"zen-sidebar-icons-wrapper",
@ -26,7 +27,8 @@ export var ZenCustomizableUI = new class {
type: this.TYPE_TOOLBAR,
defaultPlacements: this.defaultSidebarIcons,
defaultCollapsed: null,
}
},
true
);
}
@ -44,7 +46,6 @@ export var ZenCustomizableUI = new class {
brighttext="true"
data-l10n-id="tabs-toolbar"
customizable="true"
toolbarname="Zen Sidebar Top Buttons"
context="toolbar-context-menu"
flex="1"
skipintoolbarset="true"