linting
This commit is contained in:
parent
1237de3ef0
commit
deb0f902e3
3 changed files with 3 additions and 7 deletions
|
@ -188,9 +188,7 @@ export default {
|
||||||
}
|
}
|
||||||
if (!syncedSettings || !syncedSettings.theme) {
|
if (!syncedSettings || !syncedSettings.theme) {
|
||||||
theme = (SdkConfig.get() ? SdkConfig.get().default_theme : undefined) || 'light';
|
theme = (SdkConfig.get() ? SdkConfig.get().default_theme : undefined) || 'light';
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
theme = syncedSettings.theme;
|
theme = syncedSettings.theme;
|
||||||
}
|
}
|
||||||
return theme;
|
return theme;
|
||||||
|
|
|
@ -181,7 +181,7 @@ const THEMES = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'theme',
|
id: 'theme',
|
||||||
label: _td('Status.im theme'),
|
label: 'Status.im theme',
|
||||||
value: 'status',
|
value: 'status',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
@ -47,9 +47,7 @@ module.exports = React.createClass({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_Login">
|
<div className="mx_Login">
|
||||||
{ this.props.children }
|
{ this.props.children }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue