Add accounts, login, and registration

This commit is contained in:
Flashfyre committed 2023-12-30 20:19:33 -05:00
1 parent 19fec88daa
commit 8063472bac
48 files changed
+1005 -205

No files matched your search

+3 -1
View File
@@ -87,7 +87,7 @@ export default class SettingsUiHandler extends UiHandler {
this.settingsContainer.setVisible(false);
}
show(args: any[]) {
show(args: any[]): boolean {
super.show(args);
const settings: object = localStorage.hasOwnProperty('settings') ? JSON.parse(localStorage.getItem('settings')) : {};
@@ -100,6 +100,8 @@ export default class SettingsUiHandler extends UiHandler {
this.getUi().moveTo(this.settingsContainer, this.getUi().length - 1);
this.getUi().hideTooltip();
return true;
}
processInput(button: Button): boolean {