Lint issues
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ export class MainUI {
|
||||
} else if (storedDarkModePreference === false) {
|
||||
theme = "light";
|
||||
} else {
|
||||
theme = window.matchMedia("(prefers-color-scheme: dark)").matches
|
||||
theme = globalThis.matchMedia("(prefers-color-scheme: dark)").matches
|
||||
? "dark"
|
||||
: "light";
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { secureHeapUsed } from "node:crypto";
|
||||
import { LuaBuiltinFunction, LuaTable } from "../runtime.ts";
|
||||
|
||||
const ONE_DAY = 1000 * 60 * 60 * 24;
|
||||
|
||||
Reference in New Issue
Block a user