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

MediaListItem: Use explicit MediaListItemType enum over String #4798

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

staykids
Copy link
Contributor

Phabricator: N/A

Notes

From a PR I reviewed yesterday, just noticed this use of strings over the type safe enum. This PR updates that struct to use the enum directly.

Test Steps

Explore articles with multiple images to confirm the gallery experience hasn't regressed.

Copy link
Collaborator

@tonisevener tonisevener left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the cleanup.

@tonisevener tonisevener merged commit 2a93924 into main Mar 29, 2024
4 checks passed
@tonisevener tonisevener deleted the medialistitemtype-update branch March 29, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants