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: Apply sorting only to country list, not favorites #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Sikorrr
Copy link

@Sikorrr Sikorrr commented Dec 8, 2024

This PR removes the sort function from _buildLocalizedCountryList and applies it explicitly only to _countries during initialization. This ensures _favoriteCountries remain unsorted as per feedback in Issue #25

@cedvdb
Copy link
Owner

cedvdb commented Dec 8, 2024

Thanks. Please patch the version in pubspec and add a changelog entry in changelog.md so this can be published

@Sikorrr
Copy link
Author

Sikorrr commented Dec 9, 2024

Done. I’ve updated the version to 1.0.14 in pubspec.yaml and added a changelog entry.

@cedvdb
Copy link
Owner

cedvdb commented Dec 9, 2024

A test is failing, it should be updated so it tests that favorite countries are not sorted

image

@cedvdb
Copy link
Owner

cedvdb commented Jan 7, 2025

Reminder that a test was failing

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