You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
fascist linting >:(
This commit is contained in:
@@ -189,7 +189,8 @@ 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;
|
||||||
|
|||||||
@@ -28,13 +28,14 @@ module.exports = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div className="mx_StatusLogin">
|
<div className="mx_StatusLogin">
|
||||||
<div className="mx_StatusLogin_brand">
|
<div className="mx_StatusLogin_brand">
|
||||||
<img src="themes/status/img/logo.svg" alt="Status" width="221" height="53"/>
|
<img src="themes/status/img/logo.svg" alt="Status" width="221" height="53" />
|
||||||
</div>
|
</div>
|
||||||
<div className="mx_StatusLogin_content">
|
<div className="mx_StatusLogin_content">
|
||||||
<div className="mx_StatusLogin_header">
|
<div className="mx_StatusLogin_header">
|
||||||
<h1>Status Community Chat</h1>
|
<h1>Status Community Chat</h1>
|
||||||
<div className="mx_StatusLogin_subtitle">
|
<div className="mx_StatusLogin_subtitle">
|
||||||
A safer, decentralised communication platform <a href="https://riot.im">powered by Riot</a>
|
A safer, decentralised communication
|
||||||
|
platform <a href="https://riot.im">powered by Riot</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{ this.props.children }
|
{ this.props.children }
|
||||||
@@ -47,7 +48,8 @@ module.exports = React.createClass({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
return (
|
return (
|
||||||
<div className="mx_Login">
|
<div className="mx_Login">
|
||||||
{ this.props.children }
|
{ this.props.children }
|
||||||
|
|||||||
Reference in New Issue
Block a user