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<*>>( ...@@ -65,8 +65,8 @@ abstract class BaseViewHolder<T : BaseUiModel<*>>(
val manager = FlexboxLayoutManager(context, FlexDirection.ROW) val manager = FlexboxLayoutManager(context, FlexDirection.ROW)
recyclerView.layoutManager = manager recyclerView.layoutManager = manager
recyclerView.adapter = adapter recyclerView.adapter = adapter
adapter.addReactions(it.reactions.filterNot { adapter.addReactions(it.reactions.filterNot { reactionUiModel ->
it.unicode.startsWith(":") && it.url.isNullOrEmpty() 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