Skip to content

Commit

Permalink
Fix ItemRowAdapterHelper.refreshItem using wrong thread when invoking…
Browse files Browse the repository at this point in the history
… callback
  • Loading branch information
nielsvanvelzen committed Dec 5, 2024
1 parent f4bd3af commit b600484
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,8 @@ fun ItemRowAdapter.refreshItem(
}
)

callback()
withContext(Dispatchers.Main) {
callback()
}
}
}

0 comments on commit b600484

Please sign in to comment.