minor code reformatting at number blocking confirmation
This commit is contained in:
parent
3ac08e2b21
commit
e8f6ec3eb2
2 changed files with 5 additions and 6 deletions
|
|
@ -326,10 +326,9 @@ class ThreadActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun blockNumber() {
|
||||
val baseString = R.string.block_confirmation
|
||||
val numbers = participants.map { it.phoneNumber }.toTypedArray()
|
||||
val numbers = participants.map { it.phoneNumber }
|
||||
val numbersString = TextUtils.join(", ", numbers)
|
||||
val question = String.format(resources.getString(baseString), numbersString)
|
||||
val question = String.format(resources.getString(R.string.block_confirmation), numbersString)
|
||||
|
||||
ConfirmationDialog(this, question) {
|
||||
ensureBackgroundThread {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue