Create specific string for RiotX

This commit is contained in:
Benoit Marty 2020-04-14 17:23:59 +02:00
parent ef6847671a
commit 9111800e7a
3 changed files with 3 additions and 2 deletions

View File

@ -81,7 +81,7 @@ class LoginFragment @Inject constructor() : AbstractLoginFragment() {
val login = loginField.text.toString()
val password = passwordField.text.toString()
loginViewModel.handle(LoginAction.LoginOrRegister(login, password, getString(R.string.login_mobile_device)))
loginViewModel.handle(LoginAction.LoginOrRegister(login, password, getString(R.string.login_mobile_device_riotx)))
}
private fun cleanupUi() {

View File

@ -287,7 +287,7 @@
<string name="login_error_no_homeserver_found">This is not a valid Matrix server address</string>
<string name="login_error_homeserver_not_found">Cannot reach a homeserver at this URL, please check it</string>
<string name="login_error_ssl_handshake">Your device is using an outdated TLS security protocol, vulnerable to attack, for your security you will not be able to connect</string>
<string name="login_mobile_device">RiotX Android</string>
<string name="login_mobile_device">Mobile</string>
<string name="login_error_forbidden">Invalid username/password</string>
<string name="login_error_unknown_token">The access token specified was not recognised</string>

View File

@ -7,6 +7,7 @@
<!-- BEGIN Strings added by Valere -->
<string name="login_mobile_device_riotx">RiotX Android</string>
<string name="settings_key_requests">Key Requests</string>