Fixes 4620 : Editing categories of an existing picture: Reuse categories selection UI from the Upload Wizard#4928
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4928 +/- ##
============================================
+ Coverage 51.42% 52.14% +0.72%
- Complexity 2327 2373 +46
============================================
Files 345 344 -1
Lines 16194 16265 +71
Branches 1430 1430
============================================
+ Hits 8327 8482 +155
+ Misses 7236 7145 -91
- Partials 631 638 +7
Continue to review full report at Codecov.
|
|
@nicolas-raoul @4D17Y4 For now, I removed Thanks. |
nicolas-raoul
left a comment
There was a problem hiding this comment.
It works great, and the code looks fine to me.
Just two minor change requests.
| import fr.free.nrw.commons.utils.ViewUtilWrapper; | ||
| import io.reactivex.Observable; | ||
| import io.reactivex.Single; | ||
| import io.reactivex.schedulers.Schedulers; |
There was a problem hiding this comment.
This line is not needed, right?
| }) | ||
| { | ||
| Timber.e( | ||
| "Failed to update depictions" |
Description (required)
Fixes #4620
What changes did you make and why?
App currently uses a special UI, which takes time to improve and maintain. It would be better if it reused the existing category selection UI of the Upload Wizard.
Tests performed (required)
Tested latest prodDebug on Pixel 3 with API level 30.
Screenshots (for UI changes only)
New UI
Old UI