TF-1779 Fix logic of replacing dot in long email

(cherry picked from commit 24d306500325fc3f7b7901cf1936e46f8be6ccf3)
This commit is contained in:
dab246
2023-04-21 19:25:08 +07:00
committed by Dat Vu
parent fbeae2ee37
commit 800488563b
7 changed files with 32 additions and 17 deletions
@@ -1,4 +1,5 @@
import 'package:core/presentation/extensions/color_extension.dart';
import 'package:core/presentation/extensions/string_extension.dart';
import 'package:core/presentation/resources/image_paths.dart';
import 'package:core/presentation/utils/style_utils.dart';
import 'package:core/presentation/views/button/icon_button_web.dart';
@@ -65,7 +66,7 @@ class IdentityListTileBuilder extends StatelessWidget {
Padding(
padding: const EdgeInsets.only(bottom: 6),
child: Text(
identity.name ?? '',
(identity.name ?? '').withUnicodeCharacter,
overflow: CommonTextStyle.defaultTextOverFlow,
softWrap: CommonTextStyle.defaultSoftWrap,
style: const TextStyle(
@@ -122,7 +123,7 @@ class IdentityListTileBuilder extends StatelessWidget {
child: SvgPicture.asset(imagePath, width: 15, height: 15))),
const SizedBox(width: 4),
Expanded(child: Text(
text ?? '',
(text ?? '').withUnicodeCharacter,
style: const TextStyle(
color: AppColor.colorEmailAddressFull,
fontWeight: FontWeight.normal,
@@ -150,7 +151,8 @@ class IdentityListTileBuilder extends StatelessWidget {
decoration: TextDecoration.underline,
color: AppColor.colorTextButton))),
const SizedBox(width: 4),
Expanded(child: Text(text ?? '',
Expanded(child: Text(
(text ?? '').withUnicodeCharacter,
style: const TextStyle(
color: AppColor.colorEmailAddressFull,
fontWeight: FontWeight.normal,