mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Fix infinite loading circular progress bar after nominating for deletion (#6324)
* fix: infinite loading progress bar after nominating for deletion * add logs for testing * refactor: use globalFileUsage instead of achievement to append in reason Fetching achievements is a time consuming operation and globalFileUsage gives the similar result in optimal time * test(ReasonBuilder): fix tests according to new behavior * refactor: remove logs added for testing * test: await for async getReason method call --------- Co-authored-by: Neel Doshi <neeldoshi147@gmail.com> Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
parent
5d7f42d127
commit
ad7dddaac4
8 changed files with 88 additions and 66 deletions
|
|
@ -431,7 +431,7 @@
|
|||
<string name="deletion_reason_no_longer_want_public">I changed my mind, I don\'t want it to be publicly visible anymore</string>
|
||||
<string name="deletion_reason_not_interesting">Sorry this picture is not interesting for an encyclopedia</string>
|
||||
|
||||
<string name="uploaded_by_myself">Uploaded by myself on %1$s, used in %2$d article(s).</string>
|
||||
<string name="uploaded_by_myself">Uploaded by myself on %1$s, used in %2$d article(s) at least.</string>
|
||||
|
||||
<string name="no_uploads">Welcome to Commons!\n
|
||||
Upload your first media by tapping on the add button.</string>
|
||||
|
|
@ -876,4 +876,5 @@ Upload your first media by tapping on the add button.</string>
|
|||
<string name="show_in_nearby">Show in Nearby</string>
|
||||
<string name="image_tag_line_created_and_uploaded_by">Created and uploaded by: %1$s</string>
|
||||
<string name="image_tag_line_created_by_and_uploaded_by">Created by %1$s and uploaded by %2$s</string>
|
||||
<string name="nominated_for_deletion_btn">Nominated for Deletion</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue