removed maxLines

This commit is contained in:
Adam Velebil 2023-01-13 07:58:21 +01:00
parent dc7ce60085
commit b7d494cc77
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -154,7 +154,6 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
child: Text( child: Text(
title, title,
style: Theme.of(context).textTheme.headlineSmall, style: Theme.of(context).textTheme.headlineSmall,
maxLines: 2,
softWrap: true, softWrap: true,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
@ -167,7 +166,6 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
if (subtitle != null) if (subtitle != null)
Text( Text(
subtitle!, subtitle!,
maxLines: 2,
softWrap: true, softWrap: true,
textAlign: TextAlign.center, textAlign: TextAlign.center,
// This is what ListTile uses for subtitle // This is what ListTile uses for subtitle