This commit is contained in:
Adam Velebil 2023-01-13 17:13:31 +01:00
commit 0d9f69d646
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -153,10 +153,9 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
title: Center(
child: Text(
title,
overflow: TextOverflow.fade,
style: Theme.of(context).textTheme.headlineSmall,
maxLines: 1,
softWrap: false,
softWrap: true,
textAlign: TextAlign.center,
),
),
contentPadding: const EdgeInsets.symmetric(horizontal: 12.0),
@ -167,9 +166,8 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
if (subtitle != null)
Text(
subtitle!,
overflow: TextOverflow.fade,
maxLines: 1,
softWrap: false,
softWrap: true,
textAlign: TextAlign.center,
// This is what ListTile uses for subtitle
style: Theme.of(context).textTheme.bodyMedium!.copyWith(
color: Theme.of(context).textTheme.caption!.color,