Skip to content

solves issue #3346 now the upload limit value is assigned to 100 if the edit text is empty #3362

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

Closed

Conversation

vibhusharma101
Copy link

Fixes #3346

What changes did you make and why?
I changed the Settings Fragment activity and made changes in uploadLimitEdittext event listener

Copy link

@tests-checker tests-checker bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add tests to make sure this change works as expected?

Copy link
Author

@vibhusharma101 vibhusharma101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves issue
#3346

@codecov-io
Copy link

Codecov Report

Merging #3362 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #3362      +/-   ##
=========================================
- Coverage    7.55%   7.54%   -0.01%     
=========================================
  Files         258     258              
  Lines       11350   11356       +6     
  Branches      911     911              
=========================================
  Hits          857     857              
- Misses      10428   10434       +6     
  Partials       65      65
Impacted Files Coverage Δ
...fr/free/nrw/commons/settings/SettingsFragment.java 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61bfe84...8a5378b. Read the comment docs.

@vibhusharma101
Copy link
Author

@madhurgupta10 sir I have created the new pull request with the changes you suggested.

@vibhusharma101
Copy link
Author

@ashishkumar468 @maskaravivek sir please review

@neslihanturan
Copy link
Collaborator

Hi @vibhusharma101 can you please inform us about what does this changes exactly do? In issue discussions you said it is expected to display a error dialog if the text is empty, but these changes seems irrelevant. Can you explain it in more details please?

@madhurgupta10
Copy link
Collaborator

@vibhusharma101 Any updates on this issue?

@macgills
Copy link
Contributor

fixed in #3521

@macgills macgills closed this Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload limit is working even if I leave the upload limit edittext blank or if I press Cancel button
5 participants