-
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
Fix Crash EditDescriptionActivity when switched dark/light mode #5503
Fix Crash EditDescriptionActivity when switched dark/light mode #5503
Conversation
Please mention the issue number that this PR solves : ) |
Yeah I know I was going to mention the issue number once a related PR is merged, I want to make a commit after that PR is approved , so I didn't want to get this one reviewed before that :) |
Ohh I see. 😅 |
app/src/main/java/fr/free/nrw/commons/description/DescriptionEditActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/fr/free/nrw/commons/description/DescriptionEditActivity.kt
Outdated
Show resolved
Hide resolved
app/src/test/kotlin/fr/free/nrw/commons/description/DescriptionEditActivityUnitTest.kt
Outdated
Show resolved
Hide resolved
…ity' into fix_crash_edit_description_activity
@RitikaPahwa4444 made the required changes, please review it, thanks |
Sorry for the delay! Thank you for making the suggested changes. I'll test it over the weekend and share my observations. |
@RitikaPahwa4444 Sure |
@RitikaPahwa4444 @nicolas-raoul Please Review and let me know if there is any change required. |
@RitikaPahwa4444 Just Pinging In case you missed it, Please Review and merge this PR, thanks |
Sorry, I was facing some issues with my emulators, had to reset everything. Tested, this does fix the crash :) |
@RitikaPahwa4444 @nicolas-raoul if these changes fix the issue then can you please Merge this, thanks |
Sorry would you mind rebasing from main?
|
@nicolas-raoul Done |
I am still getting this crash with commit c114c27 when following the steps described in the bug description:
|
@nicolas-raoul Fixed the Error, Please Review |
Would you mind fixing the conflict? |
# Conflicts: # app/src/main/java/fr/free/nrw/commons/media/MediaDetailPagerFragment.java
@nicolas-raoul Fixed the merge conflicts , Please Review and Merge |
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.
I confirm the fix for both "back" and "submit"
Description (required)
Fixes #5473
What changes did you make and why?
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
Screenshots (for UI changes only)