Added removing diacritics (#29)

This commit is contained in:
Agnieszka C 2021-09-06 10:12:51 +02:00
parent 72833f6f16
commit b212aa49b3
28 changed files with 75 additions and 2 deletions

View file

@ -646,11 +646,13 @@ class ThreadActivity : SimpleActivity() {
}
private fun sendMessage() {
val msg = thread_type_message.value
var msg = thread_type_message.value
if (msg.isEmpty() && attachmentUris.isEmpty()) {
return
}
msg = removeDiacriticsIfNeeded(msg)
val numbers = ArrayList<String>()
participants.forEach {
it.phoneNumbers.forEach {