Commit 0104c078 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Set reactionUiModel lambda param to replace misleading implicit 'it'

parent f3292176
......@@ -65,8 +65,8 @@ abstract class BaseViewHolder<T : BaseUiModel<*>>(
val manager = FlexboxLayoutManager(context, FlexDirection.ROW)
recyclerView.layoutManager = manager
recyclerView.adapter = adapter
adapter.addReactions(it.reactions.filterNot {
it.unicode.startsWith(":") && it.url.isNullOrEmpty()
adapter.addReactions(it.reactions.filterNot { reactionUiModel ->
reactionUiModel.unicode.startsWith(":") && reactionUiModel.url.isNullOrEmpty()
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment