- Don't show possible port of an AoR when asked about deleting the AoR.
This commit is contained in:
@@ -39,7 +39,7 @@ class AccountListAdapter(private val cxt: Context, private val rows: ArrayList<A
|
|||||||
Log.d("Baresip", "Delete button clicked")
|
Log.d("Baresip", "Delete button clicked")
|
||||||
val deleteDialog = AlertDialog.Builder(cxt)
|
val deleteDialog = AlertDialog.Builder(cxt)
|
||||||
deleteDialog.setMessage(String.format(cxt.getString(R.string.delete_account),
|
deleteDialog.setMessage(String.format(cxt.getString(R.string.delete_account),
|
||||||
ua.account.aor))
|
aorView.text))
|
||||||
deleteDialog.setPositiveButton(cxt.getText(R.string.delete)) { dialog, _ ->
|
deleteDialog.setPositiveButton(cxt.getText(R.string.delete)) { dialog, _ ->
|
||||||
Api.ua_destroy(ua.uap)
|
Api.ua_destroy(ua.uap)
|
||||||
CallHistory.clear(ua.account.aor)
|
CallHistory.clear(ua.account.aor)
|
||||||
|
|||||||
Reference in New Issue
Block a user