TF-2026 Add SaveToDraftAndClose method
(cherry picked from commit f319001c5e30ea33175476aefb9942464b540c8f)
This commit is contained in:
@@ -98,7 +98,7 @@ class ComposerView extends BaseComposerView {
|
||||
child: buildIconWeb(
|
||||
icon: SvgPicture.asset(imagePaths.icCloseMailbox, fit: BoxFit.fill),
|
||||
tooltip: AppLocalizations.of(context).saveAndClose,
|
||||
onTap: () => controller.saveEmailAsDrafts(context)
|
||||
onTap: () => controller.saveToDraftAndClose(context)
|
||||
)),
|
||||
buildIconWeb(
|
||||
icon: SvgPicture.asset(imagePaths.icFullScreenComposer, fit: BoxFit.fill),
|
||||
@@ -176,7 +176,7 @@ class ComposerView extends BaseComposerView {
|
||||
iconPadding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(imagePaths.icCloseMailbox, fit: BoxFit.fill),
|
||||
tooltip: AppLocalizations.of(context).saveAndClose,
|
||||
onTap: () => controller.saveEmailAsDrafts(context)
|
||||
onTap: () => controller.saveToDraftAndClose(context)
|
||||
),
|
||||
if (responsiveUtils.isDesktop(context))
|
||||
...[
|
||||
|
||||
Reference in New Issue
Block a user