TF-2717 Display attachment bar below subject field on mobile

This commit is contained in:
dab246
2024-03-19 12:20:48 +07:00
committed by Dat H. Pham
parent d9f4005bdf
commit e6e25fc06d
8 changed files with 171 additions and 58 deletions
@@ -98,7 +98,6 @@ class ComposerController extends BaseController with DragDropFileMixin {
final networkConnectionController = Get.find<NetworkConnectionController>();
final _dynamicUrlInterceptors = Get.find<DynamicUrlInterceptors>();
final expandModeAttachments = ExpandMode.EXPAND.obs;
final composerArguments = Rxn<ComposerArguments>();
final isEnableEmailSendButton = false.obs;
final isInitialRecipient = false.obs;
@@ -1320,12 +1319,6 @@ class ComposerController extends BaseController with DragDropFileMixin {
mailboxDashBoardController.closeComposerOverlay();
}
void toggleDisplayAttachments() {
final newExpandMode = expandModeAttachments.value == ExpandMode.COLLAPSE
? ExpandMode.EXPAND : ExpandMode.COLLAPSE;
expandModeAttachments.value = newExpandMode;
}
void addEmailAddressType(PrefixEmailAddress prefixEmailAddress) {
switch(prefixEmailAddress) {
case PrefixEmailAddress.from: