refactor: Simplify platform-specific icon handling in AppCustomizationPage and ProfilePage

- Replaced direct platform checks with a utility method `UiUtils.platformIcon` for better readability and maintainability.
- Updated localization strings for app customization to enhance clarity and consistency across multiple languages.
- Adjusted icon colors in the UI to ensure proper theming and visual consistency.
This commit is contained in:
cogwheel0
2025-10-17 15:09:37 +05:30
parent 6c81d68e59
commit 23071bb7b1
15 changed files with 85 additions and 69 deletions

View File

@@ -1361,7 +1361,7 @@ abstract class AppLocalizations {
/// Settings tile title to view app information.
///
/// In en, this message translates to:
/// **'About App'**
/// **'About'**
String get aboutApp;
/// Subtitle/description for the About section.
@@ -1685,13 +1685,13 @@ abstract class AppLocalizations {
/// Title of the customization settings page.
///
/// In en, this message translates to:
/// **'App Customization'**
/// **'Customization'**
String get appCustomization;
/// Subtitle shown under App Customization tile and page header.
///
/// In en, this message translates to:
/// **'Personalize how names and UI display'**
/// **'Theme, language, voice, and quickpills'**
String get appCustomizationSubtitle;
/// Helper text explaining quick action pill selection in customization.