fix diffing statuses (#4909)

Several cases of payloads not being forwarded correctly, leading to
unnecessary re-binding of the whole status view. I simplified the logic
by removing the additional list level, making it easier to understand
what is going on.
This commit is contained in:
Konrad Pozniak 2025-02-06 11:38:05 +01:00 committed by GitHub
commit b24427c6df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 84 additions and 65 deletions

View file

@ -49,6 +49,9 @@ class FollowRequestViewHolder(
payloads: List<*>,
statusDisplayOptions: StatusDisplayOptions
) {
if (payloads.isNotEmpty()) {
return
}
setupWithAccount(
viewData.account,
statusDisplayOptions.animateAvatars,