Fix text style in reset dialogs.

This commit is contained in:
Dain Nilsson 2023-02-07 14:38:23 +01:00
parent 0788d731f3
commit 67c717cf13
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
2 changed files with 8 additions and 7 deletions

View File

@ -111,11 +111,12 @@ class _ResetDialogState extends ConsumerState<ResetDialog> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(AppLocalizations.of(context)!
.fido_warning_will_delete_accounts),
Text(
AppLocalizations.of(context)!.fido_warning_will_delete_accounts,
style: const TextStyle(fontWeight: FontWeight.bold),
),
Text(
AppLocalizations.of(context)!.fido_warning_disable_these_creds,
style: Theme.of(context).textTheme.bodyLarge,
),
Center(
child: Text(_getMessage(),

View File

@ -49,12 +49,12 @@ class ResetDialog extends ConsumerWidget {
padding: const EdgeInsets.symmetric(horizontal: 18.0),
child: Column(
children: [
Text(AppLocalizations.of(context)!
.oath_warning_will_delete_accounts),
Text(
AppLocalizations.of(context)!.oath_warning_disable_these_creds,
style: Theme.of(context).textTheme.bodyLarge,
AppLocalizations.of(context)!.oath_warning_will_delete_accounts,
style: const TextStyle(fontWeight: FontWeight.bold),
),
Text(
AppLocalizations.of(context)!.oath_warning_disable_these_creds),
]
.map((e) => Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),