mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
Merge PR #903.
This commit is contained in:
commit
0d9f69d646
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user