apps-android-wikipedia icon indicating copy to clipboard operation
apps-android-wikipedia copied to clipboard

Fix: Use Job to prevent adding up total contributions twice

Open cooltey opened this issue 1 year ago • 0 comments

The refreshContents() in SuggestedEditsTasksFragment will be called twice from onResume in SuggestedEditsTasksFragment and also onActivityResult() in MainFragment.

This PR adds a Job to cancel the previous calls and only push one result to the fragment.

Bug: T363195

cooltey avatar May 06 '24 21:05 cooltey