Merge pull request #1745 from matrix-org/luke/fix-login-page-feedback

Give the login page its spinner back
This commit is contained in:
David Baker 2018-02-14 10:31:36 +00:00 committed by GitHub
commit 7cc82a682c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -431,10 +431,10 @@ module.exports = React.createClass({
// FIXME: remove status.im theme tweaks
const theme = SettingsStore.getValue("theme");
if (theme !== "status") {
header = <h2>{ _t('Sign in') }</h2>;
header = <h2>{ _t('Sign in') } { loader }</h2>;
} else {
if (!this.state.errorText) {
header = <h2>{ _t('Sign in to get started') }</h2>;
header = <h2>{ _t('Sign in to get started') } { loader }</h2>;
}
}