Fix display attachment when reply or forward email

This commit is contained in:
dab246
2022-04-14 14:22:48 +07:00
committed by Dat H. Pham
parent 8a527a1ead
commit e3a4371eae
2 changed files with 13 additions and 2 deletions
@@ -444,7 +444,12 @@ class ComposerView extends GetWidget<ComposerController> {
padding: EdgeInsets.symmetric(horizontal: responsiveUtils.isMobile(context) ? 8 : 10),
child: _buildEditor(context, initContent)));
} else {
return SizedBox.shrink();
return Padding(
padding: EdgeInsets.all(16),
child: SizedBox(
width: 30,
height: 30,
child: CupertinoActivityIndicator(color: AppColor.colorLoading)));
}
} else {
final initContent = controller.textEditorWeb ?? controller.getEmailContentQuotedAsHtml(context, controller.composerArguments.value!);