Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 4513 - user preferences pages simple refactoring (openfoodfacts…
…#4620) New files: * `user_preferences_advanced_settings.dart`: used to be `_AdvancedSettings` in `user_preferences_settings.dart` * `user_preferences_camera_sound.dart`: used to be `_CameraPlayScanSoundSetting` in `user_preferences_settings.dart` * `user_preferences_choose_accent_color.dart`: used to be `_ChooseAccentColor` in `user_preferences_settings.dart` * `user_preferences_choose_app_theme.dart`: used to be more or less `_ChooseAppTheme` in `user_preferences_settings.dart` * `user_preferences_choose_text_color_contrast.dart`: used to be `_ChooseTextColorContrast` in `user_preferences_settings.dart` * `user_preferences_country_selector.dart`: used to be coded in `user_preferences_settings.dart` * `user_preferences_crash_reporting.dart`: used to be `_CrashReportingSetting` in `user_preferences_settings.dart` * `user_preferences_haptic_feedback.dart`: used to be `_HapticFeedbackSetting` in `user_preferences_settings.dart` * `user_preferences_image_source.dart`: used to be coded in `user_preferences_settings.dart` * `user_preferences_language_selector.dart`: used to be coded in `user_preferences_settings.dart` * `user_preferences_rate_us.dart`: used to be `_RateUs` in `user_preferences_settings.dart` * `user_preferences_send_anonymous.dart`: used to be `_SendAnonymousDataSetting` in `user_preferences_settings.dart` * `user_preferences_share_with_friends.dart`: used to be `_ShareWithFriends` in `user_preferences_settings.dart` Impacted files: * `abstract_user_preferences.dart`: minor refactoring * `preferences_page.dart`: minor refactoring * `user_preferences.dart`: minor refactoring * `user_preferences_account.dart`: removed `UserPreferencesSection` and `_UserPreferencesAccountSubTitleSignOut` for simplification * `user_preferences_attribute_group.dart`: refactored as not `AbstractUserPreferences` * `user_preferences_connect.dart`: minor refactoring * `user_preferences_contribute.dart`: minor refactoring * `user_preferences_dev_mode.dart`: minor refactoring * `user_preferences_faq.dart`: minor refactoring * `user_preferences_food.dart`: minor refactoring * `user_preferences_page.dart`: minor refactoring * `user_preferences_settings.dart`: file was too big - moved code to new files+classes
- Loading branch information