Remove hard-coded value.
This commit is contained in:
parent
014b15771b
commit
2f3333af69
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ private fun ReadReceiptsAvatars(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (receipts.size > 3) {
|
if (receipts.size > TimelineConfig.maxReadReceiptToDisplay) {
|
||||||
Text(
|
Text(
|
||||||
text = "+" + (receipts.size - TimelineConfig.maxReadReceiptToDisplay),
|
text = "+" + (receipts.size - TimelineConfig.maxReadReceiptToDisplay),
|
||||||
style = ElementTheme.typography.fontBodyXsRegular,
|
style = ElementTheme.typography.fontBodyXsRegular,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue