refactor(ui): Add icons to more/* screens

This commit is contained in:
Inex Code 2024-12-11 18:16:53 +03:00
parent 0ddcfc7957
commit a2b18f8075
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -26,11 +26,8 @@ class _AppSettingsPageState extends State<AppSettingsPage> {
Widget build(final BuildContext context) => BrandHeroScreen(
hasBackButton: true,
hasFlashButton: false,
bodyPadding: const EdgeInsets.symmetric(
horizontal: 12,
vertical: 16,
),
heroTitle: 'application_settings.title'.tr(),
heroIcon: Icons.settings_outlined,
children: [
_ThemePicker(
key: ValueKey('theme_picker'.tr()),

View file

@ -27,6 +27,7 @@ class _DeveloperSettingsPageState extends State<DeveloperSettingsPage> {
hasFlashButton: false,
heroTitle: 'developer_settings.title'.tr(),
heroSubtitle: 'developer_settings.subtitle'.tr(),
heroIcon: Icons.developer_mode_outlined,
children: [
SectionTitle(title: 'developer_settings.server_setup'.tr()),
SwitchListTile.adaptive(

View file

@ -13,7 +13,9 @@ class _LanguagePicker extends StatelessWidget {
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Text(
Localization.getLanguageName(context.locale),
style: Theme.of(context).textTheme.labelLarge,
style: Theme.of(context).textTheme.labelSmall?.copyWith(
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
),
onTap: () async {