mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed crash when failing to connect third party sip account
This commit is contained in:
parent
8a6a2bef02
commit
6c03a6fb7a
3 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ class AccountLoginViewModel @UiThread constructor() : ViewModel() {
|
|||
else -> {
|
||||
AppUtils.getFormattedString(
|
||||
R.string.assistant_account_login_error,
|
||||
account.error.toInt()
|
||||
account.error.toString()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ class ThirdPartySipAccountLoginViewModel @UiThread constructor() : ViewModel() {
|
|||
else -> {
|
||||
AppUtils.getFormattedString(
|
||||
R.string.assistant_account_login_error,
|
||||
account.error.toInt()
|
||||
account.error.toString()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@
|
|||
<string name="assistant_account_register_push_notification_not_received_error">Push notification with auth token not received in 5 seconds, please try again later</string>
|
||||
<string name="assistant_account_register_unexpected_error">Unexpected error occurred, please try again later</string>
|
||||
<string name="assistant_account_login_forbidden_error">Wrong username or password</string>
|
||||
<string name="assistant_account_login_error">Failed to login: error code is %i</string>
|
||||
<string name="assistant_account_login_error">Failed to login: error code is %s</string>
|
||||
<string name="assistant_permissions_title">Grant permissions</string>
|
||||
<string name="assistant_permissions_grant_all_of_them">OK</string>
|
||||
<string name="assistant_permissions_skip_permissions">Do it later</string>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue