1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Rename dharma theme to light theme

This commit is contained in:
J. Ryan Stinnett
2019-02-13 09:45:20 +00:00
parent 6c954dadc8
commit b0d08b9a25
9 changed files with 9 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ limitations under the License.
import SettingController from "./SettingController";
const SUPPORTED_THEMES = [
"dharma",
"light",
"dark",
];
@@ -25,7 +25,7 @@ export default class ThemeController extends SettingController {
getValueOverride(level, roomId, calculatedValue, calculatedAtLevel) {
// Override in case some no longer supported theme is stored here
if (!SUPPORTED_THEMES.includes(calculatedValue)) {
return "dharma";
return "light";
}
return null; // no override