Show only Nickname AoR in account list
This commit is contained in:
@ -208,7 +208,7 @@ fun NewAccount(navController: NavController) {
|
|||||||
if (Account.ofAor(aor) != null) {
|
if (Account.ofAor(aor) != null) {
|
||||||
alertTitle.value = ctx.getString(R.string.notice)
|
alertTitle.value = ctx.getString(R.string.notice)
|
||||||
alertMessage.value =
|
alertMessage.value =
|
||||||
String.format(ctx.getString(R.string.account_exists), aor.removePrefix("sip:"))
|
String.format(ctx.getString(R.string.account_exists), aor.split(":")[1])
|
||||||
showAlert.value = true
|
showAlert.value = true
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user