refactor: formatting in line properly in ContactUtilities.kt

This commit is contained in:
jubb 2021-02-25 13:27:45 +11:00
parent 9a33fe8883
commit 9d55d842d2

View File

@ -12,12 +12,12 @@ object ContactUtilities {
val cursor = threadDatabase.conversationList val cursor = threadDatabase.conversationList
val result = mutableSetOf<Recipient>() val result = mutableSetOf<Recipient>()
threadDatabase.readerFor(cursor).use { reader -> threadDatabase.readerFor(cursor).use { reader ->
while (reader.next != null) { while (reader.next != null) {
val thread = reader.current val thread = reader.current
val recipient = thread.recipient val recipient = thread.recipient
result.add(recipient) result.add(recipient)
}
} }
return result
} }
return result
}
} }