do not split accented characters from casual ones at the side scrollbar

This commit is contained in:
tibbi 2021-08-17 15:10:55 +02:00
parent d9974c5a44
commit f778226451
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class NewConversationActivity : SimpleActivity() {
try { try {
val name = contacts[position].name val name = contacts[position].name
val character = if (name.isNotEmpty()) name.substring(0, 1) else "" val character = if (name.isNotEmpty()) name.substring(0, 1) else ""
FastScrollItemIndicator.Text(character.toUpperCase(Locale.getDefault())) FastScrollItemIndicator.Text(character.toUpperCase(Locale.getDefault()).normalizeString())
} catch (e: Exception) { } catch (e: Exception) {
FastScrollItemIndicator.Text("") FastScrollItemIndicator.Text("")
} }