mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Fix text style in reset dialogs.
This commit is contained in:
parent
0788d731f3
commit
67c717cf13
@ -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(),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user