Use the SettingsStore to get the theme

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-11-13 13:14:00 -07:00
parent 63bebe9dfd
commit d92cba25ef
4 changed files with 7 additions and 7 deletions

View file

@ -385,7 +385,7 @@ module.exports = React.createClass({
let header;
// FIXME: remove status.im theme tweaks
const theme = UserSettingsStore.getTheme();
const theme = SettingsStore.getValue("theme");
if (theme !== "status") {
header = <h2>{ _t('Sign in') }</h2>;
}