TF-4229 Add isSelected && condition to non-RTL selectedIconWidget rendering to match RTL behavior.

This commit is contained in:
dab246
2026-01-07 16:35:07 +07:00
committed by Dat H. Pham
parent 916fee92c4
commit f9ff9ecde7
10 changed files with 22 additions and 23 deletions
@@ -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;