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(
|
Widget build(final BuildContext context) => BrandHeroScreen(
|
||||||
hasBackButton: true,
|
hasBackButton: true,
|
||||||
hasFlashButton: false,
|
hasFlashButton: false,
|
||||||
bodyPadding: const EdgeInsets.symmetric(
|
|
||||||
horizontal: 12,
|
|
||||||
vertical: 16,
|
|
||||||
),
|
|
||||||
heroTitle: 'application_settings.title'.tr(),
|
heroTitle: 'application_settings.title'.tr(),
|
||||||
|
heroIcon: Icons.settings_outlined,
|
||||||
children: [
|
children: [
|
||||||
_ThemePicker(
|
_ThemePicker(
|
||||||
key: ValueKey('theme_picker'.tr()),
|
key: ValueKey('theme_picker'.tr()),
|
||||||
|
|
|
@ -27,6 +27,7 @@ class _DeveloperSettingsPageState extends State<DeveloperSettingsPage> {
|
||||||
hasFlashButton: false,
|
hasFlashButton: false,
|
||||||
heroTitle: 'developer_settings.title'.tr(),
|
heroTitle: 'developer_settings.title'.tr(),
|
||||||
heroSubtitle: 'developer_settings.subtitle'.tr(),
|
heroSubtitle: 'developer_settings.subtitle'.tr(),
|
||||||
|
heroIcon: Icons.developer_mode_outlined,
|
||||||
children: [
|
children: [
|
||||||
SectionTitle(title: 'developer_settings.server_setup'.tr()),
|
SectionTitle(title: 'developer_settings.server_setup'.tr()),
|
||||||
SwitchListTile.adaptive(
|
SwitchListTile.adaptive(
|
||||||
|
|
|
@ -13,7 +13,9 @@ class _LanguagePicker extends StatelessWidget {
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
Localization.getLanguageName(context.locale),
|
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 {
|
onTap: () async {
|
||||||
|
|
Loading…
Reference in a new issue