Settings page improvements

This commit is contained in:
Geomitron
2020-02-14 21:02:38 -05:00
parent 49cba89a11
commit 442736205e
5 changed files with 62 additions and 4 deletions

View File

@@ -62,4 +62,12 @@ export class SettingsService {
this.changeTheme(newValue)
this.saveSettings()
}
get rateLimitDelay() {
return this.settings == undefined ? NaN : this.settings.rateLimitDelay
}
set rateLimitDelay(delay: number) {
this.settings.rateLimitDelay = delay
this.saveSettings()
}
}