mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-29 07:12:15 +00:00
refactor: formatting in line properly in ContactUtilities.kt
This commit is contained in:
parent
9a33fe8883
commit
9d55d842d2
@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user