TF-2026 Add SaveToDraftAndClose method
(cherry picked from commit f319001c5e30ea33175476aefb9942464b540c8f)
This commit is contained in:
@@ -433,7 +433,7 @@ abstract class BaseComposerView extends GetWidget<ComposerController>
|
||||
),
|
||||
iconPadding: EdgeInsets.zero,
|
||||
tooltip: AppLocalizations.of(context).saveAndClose,
|
||||
onTap: () => controller.saveEmailAsDrafts(context)
|
||||
onTap: () => controller.saveToDraftAndClose(context)
|
||||
),
|
||||
Expanded(child: buildTitleComposer(context)),
|
||||
if (responsiveUtils.isScreenWithShortestSide(context))
|
||||
@@ -513,7 +513,7 @@ abstract class BaseComposerView extends GetWidget<ComposerController>
|
||||
width: 150,
|
||||
height: 44,
|
||||
radius: 10,
|
||||
onTap: () => controller.saveEmailAsDrafts(context)
|
||||
onTap: () => controller.saveToDraft(context)
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
buildTextButton(
|
||||
|
||||
Reference in New Issue
Block a user