diff --git a/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt b/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt
index 6850fab872..031d72d0df 100644
--- a/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt
+++ b/vector/src/main/java/im/vector/riotx/features/login/LoginActivity.kt
@@ -141,7 +141,7 @@ class LoginActivity : VectorBaseActivity(), ToolbarConfigurable {
private fun handleLoginViewEvents(loginViewEvents: LoginViewEvents) {
when (loginViewEvents) {
- is LoginViewEvents.RegistrationFlowResult -> {
+ is LoginViewEvents.RegistrationFlowResult -> {
// Check that all flows are supported by the application
if (loginViewEvents.flowResult.missingStages.any { !it.isSupported() }) {
// Display a popup to propose use web fallback
@@ -160,13 +160,13 @@ class LoginActivity : VectorBaseActivity(), ToolbarConfigurable {
}
}
}
- is LoginViewEvents.OutdatedHomeserver ->
+ is LoginViewEvents.OutdatedHomeserver ->
AlertDialog.Builder(this)
- .setTitle(R.string.dialog_title_error)
- .setMessage(R.string.login_error_outdated_homeserver)
+ .setTitle(R.string.login_error_outdated_homeserver_title)
+ .setMessage(R.string.login_error_outdated_homeserver_content)
.setPositiveButton(R.string.ok, null)
.show()
- is LoginViewEvents.Error ->
+ is LoginViewEvents.Error ->
// This is handled by the Fragments
Unit
}
diff --git a/vector/src/main/res/values/strings_riotX.xml b/vector/src/main/res/values/strings_riotX.xml
index 1ca2ff08e5..9bc13cdec2 100644
--- a/vector/src/main/res/values/strings_riotX.xml
+++ b/vector/src/main/res/values/strings_riotX.xml
@@ -129,7 +129,8 @@
Please check your email
We just sent an email to %1$s.\nPlease click on the link it contains to continue the account creation.
The entered code is not correct. Please check.
- The homeserver version is outdated, RiotX supports only recent versions of homeserver.\n\nYou may contact the administrator of the homeserver to request for an upgrade of the homeserver.
+ Outdated homeserver
+ This homeserver is running too old a version to connect to. Ask your homeserver admin to upgrade.
- Too many requests have been sent. You can retry in %1$d second…