Fix: restore loading of custom themes

This commit is contained in:
Pieter Vander Vennet 2023-06-07 17:33:07 +02:00
parent 649ed1f53a
commit bcb2ecf6ab
3 changed files with 47 additions and 8 deletions

View file

@ -3,6 +3,7 @@ import DetermineLayout from "./Logic/DetermineLayout"
import ThemeViewState from "./Models/ThemeViewState"
import SvelteUIElement from "./UI/Base/SvelteUIElement"
import ThemeViewGUI from "./UI/ThemeViewGUI.svelte"
import {FixedUiElement} from "./UI/Base/FixedUiElement";
// Miscelleanous
Utils.DisableLongPresses()
@ -16,4 +17,5 @@ DetermineLayout.GetLayout()
})
.catch((err) => {
console.error("Error while initializing: ", err, err.stack)
new FixedUiElement(err).SetClass("block alert").AttachTo("maindiv")
})