Fix version info and custom css

- Fixes #1777
This commit is contained in:
Zerebos 2024-12-11 21:27:27 -05:00
parent e3dcbb78f7
commit 559c8ce7e3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export default class DOMManager {
static get bdScripts() {return this.getElement("bd-scripts");}
static get bdStyles() {return this.getElement("bd-styles");}
static get bdThemes() {return this.getElement("bd-themes");}
static get bdCustomCSS() {return this.getElement("#customcss");}
static get bdCustomCSS() {return this.getElement("style#customcss");}
static get bdTooltips() {return this.getElement("bd-tooltips") || this.createElement("bd-tooltips").appendTo(this.bdBody);}
static get bdModals() {return this.getElement("bd-modals") || this.createElement("bd-modals").appendTo(this.bdBody);}
static get bdToasts() {return this.getElement("bd-toasts") || this.createElement("bd-toasts").appendTo(this.bdBody);}

View File

@ -175,7 +175,7 @@ export default new class SettingsRenderer {
}
async patchVersionInformation() {
const versionDisplayModule = await WebpackModules.getLazy(Filters.byStrings("RELEASE_CHANNEL", "COPY_VERSION"), {defaultExport: false});
const versionDisplayModule = await WebpackModules.getLazy(Filters.byStrings("copyValue", "RELEASE_CHANNEL"), {defaultExport: false});
if (!versionDisplayModule?.Z) return;
Patcher.after("SettingsManager", versionDisplayModule, "Z", (_, __, reactTree) => {