TF-105 [BUG] Fix email address should be in lower case

This commit is contained in:
dab246
2021-10-11 12:17:04 +07:00
committed by Dat H. Pham
parent 15e1417730
commit ca28b55d24
6 changed files with 24 additions and 20 deletions
@@ -182,9 +182,9 @@ class EmailAddressComposerWidgetBuilder {
title: Text(
emailAddress.asString(),
style: TextStyle(color: AppColor.nameUserColor, fontSize: 14, fontWeight: FontWeight.w500)),
subtitle: emailAddress.getName().isNotEmpty && emailAddress.getEmail().isNotEmpty
subtitle: emailAddress.displayName.isNotEmpty && emailAddress.emailAddress.isNotEmpty
? Text(
emailAddress.getEmail(),
emailAddress.emailAddress,
style: TextStyle(color: AppColor.baseTextColor, fontSize: 12, fontWeight: FontWeight.w500))
: null,
onTap: () => state.selectSuggestion(emailAddress),