Skip to content
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

Remove occurrence of upload wizard's depictsFragment instead of editDepictsFragment #5488

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

rohit9625
Copy link
Contributor

Description (required)
Fixes #5485

What changes did you make and why?
I added a null check for media when calling the init() function for DepictsFragment because when calling this function from depictEditButton, the callback is null. Hence, it was necessary to check callback as well as media when initializing.

Tests performed (required)
Manually tested it on my device. However, adding that check didn't affect the motive of PR #5466.

Tested prodDebug on Samsung A14 with API level 34

Screenshots (for UI changes only)
Not related to UI.

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Working great, thanks!
(I tested both edition and upload)

@nicolas-raoul nicolas-raoul merged commit 9f7e407 into commons-app:main Jan 29, 2024
1 check passed
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.

When editing an already uploaded picture's depictions, depiction search does not find anything
2 participants