mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
refactor(ui): Add icons to more/* screens
This commit is contained in:
parent
0ddcfc7957
commit
a2b18f8075
|
@ -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()),
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue