set up contactrepository to inflate phone number in contact

This commit is contained in:
Moez Bhatti
2017-08-28 15:13:27 -07:00
parent 7996048658
commit 22489af4c3
10 changed files with 80 additions and 33 deletions
@@ -31,9 +31,9 @@ class ConversationAdapter(context: Context, data: OrderedRealmCollection<Convers
}
var title = ""
conversation?.recipients?.forEachIndexed { index, recipient ->
title += recipient.id
if (index < conversation.recipients.size - 1) {
conversation?.contacts?.forEachIndexed { index, recipient ->
title += recipient.address
if (index < conversation.contacts.size - 1) {
title += ", "
}
}