TF-785 Hide/Show selection options for ThreadView in web app

This commit is contained in:
Dat PHAM HOANG
2022-08-03 15:57:02 +07:00
committed by Dat H. Pham
parent 7d33899aba
commit a40d8d94c7
@@ -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 {