feat: One page login

This commit is contained in:
Christian Pauly 2021-06-11 10:08:04 +02:00
commit a6000ddf60
7 changed files with 258 additions and 331 deletions

View file

@ -45,7 +45,7 @@ extension LocalizedExceptionExtension on Object {
.badServerLoginTypesException(serverVersions, supportedVersions);
}
if (this is MatrixConnectionException || this is SocketException) {
L10n.of(context).noConnectionToTheServer;
return L10n.of(context).noConnectionToTheServer;
}
Logs().w('Something went wrong: ', this);
return L10n.of(context).oopsSomethingWentWrong;