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