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

@@ -690,7 +690,7 @@ class AppLocalizationsIt extends AppLocalizations {
String get failedToDeleteFolder => 'Impossibile eliminare la cartella';
@override
String get aboutApp => 'Informazioni sullapp';
String get aboutApp => 'Informazioni';
@override
String get aboutAppSubtitle => 'Informazioni e link di Conduit';
@@ -872,11 +872,10 @@ class AppLocalizationsIt extends AppLocalizations {
}
@override
String get appCustomization => 'Personalizzazione app';
String get appCustomization => 'Personalizzazione';
@override
String get appCustomizationSubtitle =>
'Personalizza la visualizzazione dei nomi e dell\'UI';
String get appCustomizationSubtitle => 'Tema, lingua, voce e quickpills';
@override
String get quickActionsDescription =>