mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 00:17:41 +01:00
Simplify recipient list truncation in CreateFolderScreen.
Resolves signalapp/Signal-Android#14439 Closes signalapp/Signal-Android#14473
This commit is contained in:
committed by
Cody Henthorne
parent
3f27769d20
commit
9a837254ec
@@ -263,7 +263,7 @@ fun CreateFolderScreen(
|
||||
}
|
||||
|
||||
if (!expandIncluded && state.currentFolder.includedRecipients.size > MAX_CHAT_COUNT) {
|
||||
items(state.currentFolder.includedRecipients.toList().subList(0, MAX_CHAT_COUNT)) { recipient ->
|
||||
items(state.currentFolder.includedRecipients.take(MAX_CHAT_COUNT)) { recipient ->
|
||||
ChatRow(
|
||||
recipient = recipient,
|
||||
onClick = onAddChat
|
||||
|
||||
Reference in New Issue
Block a user