TF-1915 Updating correctly state sending email when work manager running
(cherry picked from commit 60b5683cddc2f8c026935528002c736f74018798)
This commit is contained in:
@@ -34,7 +34,7 @@ class SendingQueueView extends GetWidget<SendingQueueController> with AppLoaderM
|
||||
}),
|
||||
const Divider(color: AppColor.colorDividerComposer, height: 1),
|
||||
Obx(() {
|
||||
if (!controller.dashboardController!.listSendingEmails.isAllNotReadySendingState()) {
|
||||
if (!controller.isConnectedNetwork) {
|
||||
return const BannerMessageSendingQueueWidget();
|
||||
} else {
|
||||
return const SizedBox.shrink();
|
||||
@@ -87,7 +87,7 @@ class SendingQueueView extends GetWidget<SendingQueueController> with AppLoaderM
|
||||
onLongPressAction: controller.handleOnLongPressAction,
|
||||
onSelectLeadingAction: controller.toggleSelectionSendingEmail,
|
||||
onTapAction: (actionType, sendingEmail) {
|
||||
if (!controller.isConnectedNetwork && sendingEmail.isReady) {
|
||||
if (!controller.isConnectedNetwork && sendingEmail.isWaiting) {
|
||||
controller.handleSendingEmailActionType(context, actionType, [sendingEmail]);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user