Skip to content

Commit

Permalink
Analyzer: Improve UI lag during deletion of many items
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Sep 24, 2024
1 parent 5d8f284 commit 86ca7af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ class ContentFragment : Fragment3(R.layout.analyzer_content_fragment) {
toolbar.title = state.title?.get(requireContext())
toolbar.subtitle = state.subtitle?.get(requireContext())

adapter.update(state.items)
loadingOverlay.setProgress(state.progress)
if (state.progress == null) adapter.update(state.items)
list.isInvisible = state.progress != null
}

Expand Down

0 comments on commit 86ca7af

Please sign in to comment.