TF-985 Apply new design for list attachment in EmailView

This commit is contained in:
dab246
2022-10-12 17:02:10 +07:00
committed by Dat H. Pham
parent 0c287dbaa6
commit 36a90fbc63
11 changed files with 214 additions and 255 deletions
@@ -708,7 +708,7 @@ class ComposerView extends GetWidget<ComposerController>
child: Text(
expandModeAttachment == ExpandMode.EXPAND
? AppLocalizations.of(context).hide
: '${AppLocalizations.of(context).show_all} (${uploadFilesState.length})',
: '${AppLocalizations.of(context).showAll} (${uploadFilesState.length})',
style: const TextStyle(fontWeight: FontWeight.w500, fontSize: 12, color: AppColor.colorTextButton)),
onPressed: () => controller.toggleDisplayAttachments()
)
@@ -704,7 +704,7 @@ class ComposerView extends GetWidget<ComposerController>
child: Text(
expandModeAttachment == ExpandMode.EXPAND
? AppLocalizations.of(context).hide
: '${AppLocalizations.of(context).show_all} (${uploadFilesState.length})',
: '${AppLocalizations.of(context).showAll} (${uploadFilesState.length})',
style: const TextStyle(fontWeight: FontWeight.w500, fontSize: 12, color: AppColor.colorTextButton)),
onPressed: () => controller.toggleDisplayAttachments()
)