Add SettingsLevel enum; Move settings to own file.
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
893c39bfbe
commit
8282534f87
16 changed files with 259 additions and 213 deletions
|
@ -44,7 +44,7 @@ export default class RoomDeviceSettingsHandler extends SettingsHandler {
|
|||
}
|
||||
|
||||
isSupported() {
|
||||
return !!localStorage;
|
||||
return localStorage !== undefined && localStorage !== null;
|
||||
}
|
||||
|
||||
_getKey(settingName, roomId) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue