TF-105 [BUG] Fix email address should be in lower case
This commit is contained in:
@@ -39,7 +39,7 @@ class EmailAddressDatabaseManager implements DatabaseManager<EmailAddress> {
|
||||
final res = await _databaseClient.updateData(
|
||||
EmailAddressTable.TABLE_NAME,
|
||||
EmailAddressTable.EMAIL,
|
||||
emailAddress.getEmail(),
|
||||
emailAddress.emailAddress,
|
||||
emailAddress.toEmailAddressCache().toJson());
|
||||
return res > 0 ? true : false;
|
||||
}
|
||||
|
||||
+2
-2
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user