TF-785 Hide/Show selection options for ThreadView in web app
This commit is contained in:
committed by
Dat H. Pham
parent
7d33899aba
commit
a40d8d94c7
@@ -148,6 +148,9 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
|
|||||||
Widget _buildRightHeader(BuildContext context) {
|
Widget _buildRightHeader(BuildContext context) {
|
||||||
return Row(children: [
|
return Row(children: [
|
||||||
Obx(() {
|
Obx(() {
|
||||||
|
if (controller.routePath.value != AppRoutes.THREAD) {
|
||||||
|
return const SizedBox.shrink();
|
||||||
|
}
|
||||||
if (controller.isSelectionEnabled()) {
|
if (controller.isSelectionEnabled()) {
|
||||||
return _buildListButtonTopBarSelection(context);
|
return _buildListButtonTopBarSelection(context);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user