Use element theme by default

This commit is contained in:
Nad Chishtie 2020-07-14 13:56:24 +01:00
parent 4f466300b7
commit 5b3c3f53fe
3 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ export default class ThemeController extends SettingController {
getValueOverride(level, roomId, calculatedValue, calculatedAtLevel) {
if (!calculatedValue) return null; // Don't override null themes
if (ThemeController.isLogin) return 'light';
if (ThemeController.isLogin) return 'element';
const themes = enumerateThemes();
// Override in case some no longer supported theme is stored here