TF-3517 Remove optional return value for createSenders method
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -22,7 +22,7 @@ import 'package:tmail_ui_user/main/localizations/localization_service.dart';
|
||||
|
||||
extension CreateEmailRequestExtension on CreateEmailRequest {
|
||||
|
||||
Set<EmailAddress>? createSenders() {
|
||||
Set<EmailAddress> createSenders() {
|
||||
if (identity?.email?.isNotEmpty == true) {
|
||||
return { identity!.toEmailAddress() };
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user