TF-105 [BUG] Fix no subject should show empty instead of null
This commit is contained in:
@@ -129,7 +129,7 @@ class ComposerController extends BaseController {
|
||||
&& composerArguments.value?.presentationEmail != null
|
||||
&& Get.context != null) {
|
||||
final subject = '${composerArguments.value!.emailActionType.prefixSubjectComposer(Get.context!)} '
|
||||
'${composerArguments.value!.presentationEmail?.subject}';
|
||||
'${composerArguments.value!.presentationEmail?.getEmailTitle()}';
|
||||
setSubjectEmail(subject);
|
||||
subjectEmailInputController.text = subject;
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ class EmailView extends GetView {
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(left: 8, top: 4, bottom: 16),
|
||||
child: Text(
|
||||
'${emailController.mailboxDashBoardController.selectedEmail.value?.subject}',
|
||||
'${emailController.mailboxDashBoardController.selectedEmail.value?.getEmailTitle()}',
|
||||
style: TextStyle(fontSize: 18, color: AppColor.mailboxTextColor, fontWeight: FontWeight.w500)
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user