diff --git a/lib/features/sending_queue/presentation/sending_queue_view.dart b/lib/features/sending_queue/presentation/sending_queue_view.dart index 6577c25e6..2e432e9b0 100644 --- a/lib/features/sending_queue/presentation/sending_queue_view.dart +++ b/lib/features/sending_queue/presentation/sending_queue_view.dart @@ -34,16 +34,7 @@ class SendingQueueView extends GetWidget with AppLoaderM ); }), const Divider(color: AppColor.colorDividerComposer, height: 1), - if (PlatformInfo.isIOS) - const BannerMessageSendingQueueWidget() - else - Obx(() { - if (!controller.isConnectedNetwork) { - return const BannerMessageSendingQueueWidget(); - } else { - return const SizedBox.shrink(); - } - }), + const BannerMessageSendingQueueWidget(), Expanded(child: _buildListSendingEmails(context)), Obx(() { if (controller.isAllUnSelected) { @@ -91,11 +82,7 @@ class SendingQueueView extends GetWidget with AppLoaderM onLongPressAction: controller.handleOnLongPressAction, onSelectLeadingAction: controller.toggleSelectionSendingEmail, onTapAction: (actionType, sendingEmail) { - if (PlatformInfo.isAndroid && - !controller.isConnectedNetwork && - sendingEmail.isEditableSupported) { - controller.handleSendingEmailActionType(context, actionType, [sendingEmail]); - } else if (PlatformInfo.isIOS && sendingEmail.isEditableSupported) { + if (PlatformInfo.isMobile && sendingEmail.isEditableSupported) { controller.handleSendingEmailActionType(context, actionType, [sendingEmail]); } }); diff --git a/lib/features/sending_queue/presentation/widgets/banner_message_sending_queue_widget.dart b/lib/features/sending_queue/presentation/widgets/banner_message_sending_queue_widget.dart index f9fc172a0..68ab5b006 100644 --- a/lib/features/sending_queue/presentation/widgets/banner_message_sending_queue_widget.dart +++ b/lib/features/sending_queue/presentation/widgets/banner_message_sending_queue_widget.dart @@ -1,7 +1,6 @@ import 'package:core/presentation/extensions/color_extension.dart'; import 'package:core/presentation/resources/image_paths.dart'; -import 'package:core/utils/platform_info.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:tmail_ui_user/features/sending_queue/presentation/utils/sending_queue_utils.dart'; @@ -36,9 +35,7 @@ class BannerMessageSendingQueueWidget extends StatelessWidget { ), const SizedBox(width: 8), Expanded(child: Text( - PlatformInfo.isAndroid - ? AppLocalizations.of(context).bannerMessageSendingQueueView - : AppLocalizations.of(context).bannerMessageSendingQueueViewOnIOS, + AppLocalizations.of(context).bannerMessageSendingQueueViewOnIOS, style: const TextStyle( fontSize: 15, color: Colors.black,