TF-3407 Enable SelectableText for email display name in EmailAddressDialogBuilder
This commit is contained in:
@@ -99,13 +99,12 @@ class EmailAddressBottomSheetBuilder {
|
||||
left: 16,
|
||||
right: 16,
|
||||
top: 16),
|
||||
child: Text(
|
||||
child: SelectableText(
|
||||
_emailAddress.displayName,
|
||||
textAlign: TextAlign.center,
|
||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||
softWrap: CommonTextStyle.defaultSoftWrap,
|
||||
maxLines: 2,
|
||||
style: const TextStyle(
|
||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: AppColor.colorNameEmail),
|
||||
|
||||
@@ -75,13 +75,12 @@ class EmailAddressDialogBuilder extends StatelessWidget {
|
||||
left: 16,
|
||||
right: 16,
|
||||
top: 16),
|
||||
child: Center(child: Text(
|
||||
child: Center(child: SelectableText(
|
||||
_emailAddress.displayName,
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 2,
|
||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||
softWrap: CommonTextStyle.defaultSoftWrap,
|
||||
style: const TextStyle(
|
||||
overflow: CommonTextStyle.defaultTextOverFlow,
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: AppColor.colorNameEmail),
|
||||
|
||||
Reference in New Issue
Block a user