Update chatSidebarBackground to use the same structure as startingSidebarTab and move init hook into the main entrypoint

This commit is contained in:
Oliver 2025-12-06 23:17:37 -07:00
parent 321a4ab0eb
commit 8ca82c2cc1
3 changed files with 29 additions and 34 deletions

View file

@ -1,15 +1,10 @@
import { __ID } from "../consts.mjs";
import { chatSidebarBackground } from "../settings/chatSidebarBackground.mjs";
import { preventUserConfigOpen } from "../settings/preventUserConfigOpen.mjs";
import { startingSidebarTab } from "../settings/startingSidebarTab.mjs";
import { startSidebarExpanded } from "../settings/startSidebarExpanded.mjs";
Hooks.once(`init`, () => {
console.log(`${__ID} | Initializing`);
chatSidebarBackground.register();
preventUserConfigOpen.register();
startSidebarExpanded.register();
startingSidebarTab();
});