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

fix: contributor correctly displayed #1005

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

monsieurtanuki
Copy link
Contributor

What

  • Fixed an incorrect management of image contributor in the toJson/fromJson methods.

Screenshots

before after
Screenshot_1732804102 Screenshot_1732805823

Part of

Impacted files

  • json_helper.dart: contributor correctly included in toJson
  • product_image.dart: contributor correctly included in toString

Impacted files:
* `json_helper.dart`: contributor correctly included in `toJson`
* `product_image.dart`: contributor correctly included in `toString`
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.95%. Comparing base (820d145) to head (fd8a16a).
Report is 74 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
- Coverage   76.34%   75.95%   -0.40%     
==========================================
  Files         239      251      +12     
  Lines        8494     9421     +927     
==========================================
+ Hits         6485     7156     +671     
- Misses       2009     2265     +256     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@g123k g123k left a comment

Choose a reason for hiding this comment

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

Thanks for the fix

@teolemon teolemon merged commit 7a9c761 into openfoodfacts:master Nov 28, 2024
5 checks passed
@monsieurtanuki
Copy link
Contributor Author

Thank you @g123k for your review!

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.

4 participants