Skip to content

Fix NPE with UploadMediaDetail.captionText #6128

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

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

savsch
Copy link
Contributor

@savsch savsch commented Jan 14, 2025

Description (required)

Fixes #6127

What changes did you make and why?

Made UploadMediaDetail.captionText non nullable. Its null variant wasn't being checked for nullability anywhere.

Tests performed (required)

Tested ProdDebug on Samsung S20FE with API level 33.

Screenshots (for UI changes only)

fixnpe.mp4

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.

Tested, now categories are working, thanks a lot!

@nicolas-raoul nicolas-raoul merged commit 62136b5 into commons-app:main Jan 15, 2025
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.

[Bug]: Categories fail to load when search term is empty
2 participants