diff --git a/lib/oath/views/account_dialog.dart b/lib/oath/views/account_dialog.dart index 6d0014ca..c28eec3a 100755 --- a/lib/oath/views/account_dialog.dart +++ b/lib/oath/views/account_dialog.dart @@ -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,