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

Added fallback to atom icon when atom logo is missing #221

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

spacecowboy
Copy link
Contributor

First off, fantastic library! 👏 Great job.

While integrating it into Feeder (my Android feed reader) one of my unit tests failed. 😞

This PR would make the test pass in my project. What do you think?

For reference, it is this assertion: https://github.com/spacecowboy/Feeder/blob/master/app/src/test/java/com/nononsenseapps/feeder/model/FeedParserTest.kt#L673

Which parses the file at: https://github.com/spacecowboy/Feeder/blob/master/app/src/test/resources/com/nononsenseapps/feeder/model/atom_cowboy.xml

@mmcdole
Copy link
Owner

mmcdole commented Feb 23, 2024

Icon being a fallback for Feed.Image seems reasonable to me. Thanks for the contribution (and tests)!

@mmcdole mmcdole merged commit b187685 into mmcdole:master Feb 23, 2024
1 check failed
@spacecowboy spacecowboy deleted the atom_icon branch February 23, 2024 12:58
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.

2 participants