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

@@ -687,7 +687,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get failedToDeleteFolder => 'Failed to delete folder';
@override
String get aboutApp => 'About App';
String get aboutApp => 'About';
@override
String get aboutAppSubtitle => 'Conduit information and links';
@@ -868,10 +868,11 @@ class AppLocalizationsEn extends AppLocalizations {
}
@override
String get appCustomization => 'App Customization';
String get appCustomization => 'Customization';
@override
String get appCustomizationSubtitle => 'Personalize how names and UI display';
String get appCustomizationSubtitle =>
'Theme, language, voice, and quickpills';
@override
String get quickActionsDescription =>