Use selectedMailboxForDisplay in buildLabelsList to hide label highlight during search

This commit is contained in:
dab246 authored and Dat H. Pham committed 2026-07-31 20:06:21 +07:00
1 parent 354b900b89
commit cf4c63affe
1 file changed
+1 -1
@@ -411,7 +411,7 @@ abstract class BaseMailboxView extends GetWidget<MailboxController>
final labelController = dashboardController.labelController;
final selectedMailbox = dashboardController.selectedMailbox.value;
final selectedMailbox = dashboardController.selectedMailboxForDisplay;
Id? labelIdSelected;
if (selectedMailbox?.isLabelMailbox == true) {
labelIdSelected = selectedMailbox?.labelId;