Use the SettingsStore to get the theme
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
63bebe9dfd
commit
d92cba25ef
4 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
'use strict';
|
||||
|
||||
import UserSettingsStore from '../../../UserSettingsStore';
|
||||
import SettingsStore from "../../../settings/SettingsStore";
|
||||
|
||||
const React = require('react');
|
||||
|
||||
|
@ -25,7 +25,7 @@ module.exports = React.createClass({
|
|||
|
||||
render: function() {
|
||||
// FIXME: this should be turned into a proper skin with a StatusLoginPage component
|
||||
if (UserSettingsStore.getTheme() === 'status') {
|
||||
if (SettingsStore.getValue("theme") === 'status') {
|
||||
return (
|
||||
<div className="mx_StatusLogin">
|
||||
<div className="mx_StatusLogin_brand">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue