-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always show upload icon #6022
Always show upload icon #6022
Conversation
…t adjust the count accordingly,comment the setVisibility method and make pending_upload_icon always visible
…le the original code has been commented out and retained with a note for potential re-use in the future.
Signed-off-by: parneet-guraya <[email protected]>
from comment in original PR
apps-android-commons/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsFragment.java Line 535 in c175a4e
This method triggers the fetching & observing (using observable type Basically multiple observers are trying to update the visibility since it's not necessary that all observers will get fired at same time, this lead to flickers as you complain. On top of this when pending count changes. BTW I don't have this many pictures (uploadable) that can give me enough time to reproduce this while they're uploading. Maybe I can try getting some solid color images? Anyways I think this is a separate issue because we changed the |
You can use the beta flavor/server for this. The beta server accepts any test picture. :-) Whenever you need encyclopedia-worthy pictures to upload to the production server (some issues are applicable only to the production server), please ask me and I can send you a hundred or so. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working great, thanks!
* fix issue5847 as owner required: make the icon always visible and just adjust the count accordingly,comment the setVisibility method and make pending_upload_icon always visible * set pending_upload_icon android visible level: visible and tool visible level: gone * fix issue 5847, The upload icon is now set to always be visible, while the original code has been commented out and retained with a note for potential re-use in the future. * refactor Signed-off-by: parneet-guraya <[email protected]> --------- Signed-off-by: parneet-guraya <[email protected]> Co-authored-by: bxy379987 <[email protected]> Co-authored-by: Nicolas Raoul <[email protected]>
Fixes #5847
Based on @bxy379987 's PR #5901 :
PR makes
uploadIcon
visibility to show at all times.