TF-2560 Remove function not used
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -403,22 +403,6 @@ class ComposerController extends BaseController {
|
|||||||
subjectEmailInputFocusNode?.unfocus();
|
subjectEmailInputFocusNode?.unfocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onTapOutsideRecipients(PrefixEmailAddress prefix) {
|
|
||||||
switch(prefix) {
|
|
||||||
case PrefixEmailAddress.to:
|
|
||||||
toAddressFocusNode?.unfocus();
|
|
||||||
break;
|
|
||||||
case PrefixEmailAddress.cc:
|
|
||||||
ccAddressFocusNode?.unfocus();
|
|
||||||
break;
|
|
||||||
case PrefixEmailAddress.bcc:
|
|
||||||
bccAddressFocusNode?.unfocus();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void onLoadCompletedMobileEditorAction(HtmlEditorApi editorApi, WebUri? url) {
|
void onLoadCompletedMobileEditorAction(HtmlEditorApi editorApi, WebUri? url) {
|
||||||
if (identitySelected.value == null) {
|
if (identitySelected.value == null) {
|
||||||
_getAllIdentities();
|
_getAllIdentities();
|
||||||
@@ -656,25 +640,6 @@ class ComposerController extends BaseController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String getEmailContentQuotedAsHtml({
|
|
||||||
required BuildContext context,
|
|
||||||
required String emailContent,
|
|
||||||
required EmailActionType emailActionType,
|
|
||||||
required PresentationEmail presentationEmail,
|
|
||||||
}) {
|
|
||||||
final headerEmailQuoted = emailActionType.getHeaderEmailQuoted(
|
|
||||||
context: context,
|
|
||||||
presentationEmail: presentationEmail
|
|
||||||
);
|
|
||||||
log('ComposerController::getEmailContentQuotedAsHtml(): headerEmailQuoted: $headerEmailQuoted');
|
|
||||||
final headerEmailQuotedAsHtml = headerEmailQuoted != null
|
|
||||||
? headerEmailQuoted.addCiteTag()
|
|
||||||
: '';
|
|
||||||
final emailQuotedHtml = '${HtmlExtension.editorStartTags}$headerEmailQuotedAsHtml${emailContent.addBlockQuoteTag()}';
|
|
||||||
|
|
||||||
return emailQuotedHtml;
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<Email> _generateEmail(
|
Future<Email> _generateEmail(
|
||||||
BuildContext context,
|
BuildContext context,
|
||||||
UserProfile userProfile,
|
UserProfile userProfile,
|
||||||
|
|||||||
Reference in New Issue
Block a user