TF-4229 Add isSelected && condition to non-RTL selectedIconWidget rendering to match RTL behavior.
This commit is contained in:
@@ -349,18 +349,14 @@ abstract class BaseMailboxView extends GetWidget<MailboxController>
|
||||
|
||||
Widget buildLabelsBar(BuildContext context, bool isDesktop) {
|
||||
return Obx(() {
|
||||
final isLabelCapabilitySupported = controller
|
||||
final isLabelAvailable = controller
|
||||
.mailboxDashBoardController
|
||||
.isLabelCapabilitySupported;
|
||||
.isLabelAvailable;
|
||||
|
||||
final labelController =
|
||||
controller.mailboxDashBoardController.labelController;
|
||||
|
||||
final isLabelSettingEnabled = labelController
|
||||
.isLabelSettingEnabled
|
||||
.isTrue;
|
||||
|
||||
if (isLabelCapabilitySupported && isLabelSettingEnabled) {
|
||||
if (isLabelAvailable) {
|
||||
final accountId = controller.accountId;
|
||||
final labelListExpandMode = labelController.labelListExpandMode.value;
|
||||
final countLabels = labelController.labels.length;
|
||||
|
||||
Reference in New Issue
Block a user