Skip to content

Commit

Permalink
remove animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Jul 2, 2023
1 parent 2067166 commit 9a086f4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ class TimelineListAdapter(
mCurrentNote = null
}

@Suppress("ObjectLiteralToLambda")
private fun bindReactionCounter() {
val reactionCountAdapter = ReactionCountAdapter {
noteCardActionListenerAdapter.onReactionCountAction(it)
Expand All @@ -115,7 +114,7 @@ class TimelineListAdapter(
reactionCountAdapter.note = note

val reactionList = note.reactionCountsViewData.value

reactionCountsView.itemAnimator = null
reactionCountsView.layoutManager = getLayoutManager()
reactionCountsView.adapter = reactionCountAdapter
reactionCountsView.isNestedScrollingEnabled = false
Expand Down

0 comments on commit 9a086f4

Please sign in to comment.