mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Fix issue where last item in contact selection collection would not display.
This commit is contained in:
committed by
Greyson Parrelli
parent
7cdaf988f2
commit
de29fc047e
@@ -39,6 +39,10 @@ open class ContactSearchCollection<ContactRecord>(
|
||||
}
|
||||
|
||||
fun getSublist(start: Int, end: Int): List<ContactSearchData> {
|
||||
if (start == end) {
|
||||
return emptyList()
|
||||
}
|
||||
|
||||
val results = mutableListOf<ContactSearchData>()
|
||||
|
||||
val startOffset = if (start == 0 && section.includeHeader) {
|
||||
|
||||
Reference in New Issue
Block a user