Fix components not rebuilding content on theme change

This commit is contained in:
Mario Zechner 2026-01-09 00:40:57 +01:00
parent 36fbce85c2
commit 45a6c394ca
7 changed files with 39 additions and 0 deletions

View file

@ -36,6 +36,11 @@ export class CustomMessageComponent extends Container {
}
}
override invalidate(): void {
super.invalidate();
this.rebuild();
}
private rebuild(): void {
// Remove previous content component
if (this.customComponent) {