Fix crash when group story has more than 100 replies or reactions.
This commit is contained in:
parent
5f67c9363e
commit
cb2816362c
@ -248,9 +248,9 @@ class StoryGroupReplyFragment :
|
||||
markReadHelper?.onViewsRevealed(adapterItem.replyBody.sentAtMillis)
|
||||
}
|
||||
|
||||
private fun getConfiguration(pageData: List<ReplyBody>): DSLConfiguration {
|
||||
private fun getConfiguration(pageData: List<ReplyBody?>): DSLConfiguration {
|
||||
return configure {
|
||||
pageData.forEach {
|
||||
pageData.filterNotNull().forEach {
|
||||
when (it) {
|
||||
is ReplyBody.Text -> {
|
||||
customPref(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user