Change text style in delete account dialog.

This commit is contained in:
Elias Bonnici 2024-01-26 14:30:16 +01:00
parent 2fefb997fe
commit 6d938dba91
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF

View File

@ -64,10 +64,15 @@ class DeleteAccountDialog extends ConsumerWidget {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text(l10n.p_warning_delete_account), Text(
l10n.p_warning_delete_account,
style: Theme.of(context)
.textTheme
.bodyMedium
?.copyWith(fontWeight: FontWeight.w700),
),
Text( Text(
l10n.p_warning_disable_credential, l10n.p_warning_disable_credential,
style: Theme.of(context).textTheme.bodyLarge,
), ),
Text(l10n.l_account(getTextName(credential))), Text(l10n.l_account(getTextName(credential))),
] ]