From c4972c92043a38c4dfacb54e6b356c80ee1dab0c Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 8 Apr 2020 22:32:18 +0200 Subject: [PATCH] always use a proper thread title at the main screen --- .../simplemobiletools/smsmessenger/adapters/MessagesAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/MessagesAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/MessagesAdapter.kt index 4447d8a2..7701c60f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/MessagesAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/MessagesAdapter.kt @@ -108,7 +108,7 @@ class MessagesAdapter( view.apply { message_frame.isSelected = selectedKeys.contains(message.id) - message_address.text = message.participants.first().name + message_address.text = message.getThreadTitle() message_body_short.text = message.body message_date.text = message.date.formatDateOrTime(context, true)