This commit is contained in:
Michael Geers 2024-02-20 20:53:36 +01:00
parent bc867467b4
commit 9fbd6eb1e3

View file

@ -1,10 +0,0 @@
export function isApp() {
return navigator.userAgent.includes("evcc-app");
}
export function appDetection() {
if (isApp()) {
const $html = document.querySelector("html");
$html.classList.add("app");
}
}