commons-app / apps-android-commons

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons
https://commons-app.github.io/
Apache License 2.0
1.03k stars 1.23k forks source link

remove asynchronous call to fetch local depictedItems #5792

Closed rohit9625 closed 2 months ago

rohit9625 commented 2 months ago

Description (required)

Fixes #5791

What changes did you make and why?

I have to convert the non-blocking method getRecentDepictedItems() into a blocking one. Because it would require additional code to manage it asynchronously. However, it worked fine and could be improved in the future when migrating to Coroutines.

Tests performed (required)

Tested ProdDebug on Samsung A14 with API level 34.

Screenshots (for UI changes only)

None