TF-2667 Refresh thread & mailbox view when saving message success

This commit is contained in:
dab246
2024-03-06 03:31:34 +07:00
committed by Dat H. Pham
parent 904736a3aa
commit b58a0179f9
10 changed files with 54 additions and 417 deletions
@@ -754,7 +754,7 @@ class ComposerView extends GetWidget<ComposerController> {
insertImageAction: () => controller.insertImage(context, constraints.maxWidth),
showCodeViewAction: controller.richTextWebController.toggleCodeView,
deleteComposerAction: () => controller.handleClickDeleteComposer(context),
saveToDraftAction: () => controller.saveToDraftAction(context),
saveToDraftAction: () => controller.handleClickSaveAsDraftsButton(context),
sendMessageAction: () => controller.handleClickSendButton(context),
requestReadReceiptAction: (position) {
controller.openPopupMenuAction(
@@ -836,7 +836,7 @@ class ComposerView extends GetWidget<ComposerController> {
padding: ComposerStyle.popupItemPadding,
onCallbackAction: () {
popBack();
controller.saveToDraftAction(context);
controller.handleClickSaveAsDraftsButton(context);
}
)
),