Release: Quarkus backend, Keycloak login, game history, clock, bot, tutorial and rematch #3

Merged
jhalitaksoy merged 88 commits from develop into main 2026-10-17 03:23:38 +03:00
Showing only changes of commit e0c66a1265 - Show all commits

View File

@ -13,7 +13,7 @@ export type ThemeManagerEvents = "themechange";
export class ThemeManager extends TinyEmitter {
private _theme: Theme;
private _storage: any;
private _storage: Storage;
private _themes: Theme[];
// The first theme is the default.
constructor(storage: Storage, themeList: Theme[] = themes) {
@ -34,7 +34,7 @@ export class ThemeManager extends TinyEmitter {
}
private writetToLocalStorage(value: Theme) {
this._storage.set(THEME_ID, value.id);
this._storage.setString(THEME_ID, value.id);
}
private readFromLocalStorage(): Theme | undefined {