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(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Text(AppLocalizations.of(context)!
|
Text(
|
||||||
.fido_warning_will_delete_accounts),
|
AppLocalizations.of(context)!.fido_warning_will_delete_accounts,
|
||||||
|
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
Text(
|
Text(
|
||||||
AppLocalizations.of(context)!.fido_warning_disable_these_creds,
|
AppLocalizations.of(context)!.fido_warning_disable_these_creds,
|
||||||
style: Theme.of(context).textTheme.bodyLarge,
|
|
||||||
),
|
),
|
||||||
Center(
|
Center(
|
||||||
child: Text(_getMessage(),
|
child: Text(_getMessage(),
|
||||||
|
@ -49,12 +49,12 @@ class ResetDialog extends ConsumerWidget {
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 18.0),
|
padding: const EdgeInsets.symmetric(horizontal: 18.0),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Text(AppLocalizations.of(context)!
|
|
||||||
.oath_warning_will_delete_accounts),
|
|
||||||
Text(
|
Text(
|
||||||
AppLocalizations.of(context)!.oath_warning_disable_these_creds,
|
AppLocalizations.of(context)!.oath_warning_will_delete_accounts,
|
||||||
style: Theme.of(context).textTheme.bodyLarge,
|
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||||
),
|
),
|
||||||
|
Text(
|
||||||
|
AppLocalizations.of(context)!.oath_warning_disable_these_creds),
|
||||||
]
|
]
|
||||||
.map((e) => Padding(
|
.map((e) => Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||||
|
Loading…
Reference in New Issue
Block a user