-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Media needs refactoring to remove code that has been rendered useless #3687
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
Comments
I'd say definitely remove The fade is sort of nice(?) but I don't see a reason for it to be there. I'd wait for more people to weigh in on that. |
Tagging @neslihanturan for review on this aspect |
I feel that both can be removed. The fade is not worth the extra complexity now IMO. |
I agree about removing both, simplicity is better. |
1 similar comment
I agree about removing both, simplicity is better. |
since most of us are in favour of removing both i will create a PR for the same |
…has been rendered useless (commons-app#3693)
…has been rendered useless (commons-app#3693)
Summary:
After analysing the media section i came across the following things which can be removed:
The
MediaDetailSpacer
class has been rendered useless, it was previously used in thefragment_media_detail.xml
file but after some recent changes it is not required.The
updateTheDarkness
method insideMediaDetailFragment
was used when we had a partially transparent media detail fragment so that when the user pulls it up the Alpha of the image was changed to make the details readable but now since the design has been completely overhauled i think we should remove this.This is what the

updateTheDarkness
method does:Before Scroll
After Scroll

Would you like to work on the issue?
Yes :)
The text was updated successfully, but these errors were encountered: