openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
742 stars 260 forks source link

chore: Save the date when the country is changed #5443

Open g123k opened 1 week ago

g123k commented 1 week ago

Hi everyone!

As we wait for 4.15.0, I'll add a small change I will use later. It saves the date when the country is changed.

This will allow us to display a message when the user is abroad.

codecov-commenter commented 1 week ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 7.18%. Comparing base (4d9c7fc) to head (8cafb7d). Report is 229 commits behind head on develop.

Files Patch % Lines
.../lib/data_models/preferences/user_preferences.dart 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #5443 +/- ## ========================================== - Coverage 9.54% 7.18% -2.37% ========================================== Files 325 391 +66 Lines 16411 20382 +3971 ========================================== - Hits 1567 1464 -103 - Misses 14844 18918 +4074 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.