From a40d8d94c7e7f5e06692ef8a50bccdf1c75b3ee5 Mon Sep 17 00:00:00 2001 From: Dat PHAM HOANG Date: Wed, 3 Aug 2022 15:57:02 +0700 Subject: [PATCH] TF-785 Hide/Show selection options for ThreadView in web app --- .../presentation/mailbox_dashboard_view_web.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart index 7d7ab9819..80ed53f9d 100644 --- a/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart +++ b/lib/features/mailbox_dashboard/presentation/mailbox_dashboard_view_web.dart @@ -148,6 +148,9 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView { Widget _buildRightHeader(BuildContext context) { return Row(children: [ Obx(() { + if (controller.routePath.value != AppRoutes.THREAD) { + return const SizedBox.shrink(); + } if (controller.isSelectionEnabled()) { return _buildListButtonTopBarSelection(context); } else {