correct theme style at settings page
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
class GlobalInfos {
|
||||
#darktheme = false;
|
||||
|
||||
isDarkTheme() {
|
||||
return true;
|
||||
return this.#darktheme;
|
||||
};
|
||||
|
||||
enableDarkTheme(enable = true){
|
||||
this.#darktheme = enable;
|
||||
}
|
||||
}
|
||||
|
||||
const StaticInfos = new GlobalInfos();
|
||||
|
||||
Reference in New Issue
Block a user