Hot fix missing email subject prefix (Re:, Fwd: when reply or forward email
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -19,7 +19,7 @@ extension EmailActionTypeExtension on EmailActionType {
|
||||
} else {
|
||||
return context != null
|
||||
? '${AppLocalizations.of(context).prefix_reply_email} $subject'
|
||||
: subject;
|
||||
: 'Re: $subject';
|
||||
}
|
||||
case EmailActionType.forward:
|
||||
if (subject.toLowerCase().startsWith('fwd:')) {
|
||||
@@ -27,7 +27,7 @@ extension EmailActionTypeExtension on EmailActionType {
|
||||
} else {
|
||||
return context != null
|
||||
? '${AppLocalizations.of(context).prefix_forward_email} $subject'
|
||||
: subject;
|
||||
: 'Fwd: $subject';
|
||||
}
|
||||
case EmailActionType.editDraft:
|
||||
case EmailActionType.editSendingEmail:
|
||||
|
||||
@@ -37,8 +37,8 @@ extension SetupEmailSubjectExtension on ComposerController {
|
||||
);
|
||||
|
||||
if (newSubject.isNotEmpty) {
|
||||
setSubjectEmail(subject);
|
||||
subjectEmailInputController.text = subject;
|
||||
setSubjectEmail(newSubject);
|
||||
subjectEmailInputController.text = newSubject;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user