TF-4383 Handle read only labels

This commit is contained in:
dab246
2026-03-25 18:36:10 +07:00
committed by Dat H. Pham
parent c17782bfd4
commit eb017b54b1
10 changed files with 97 additions and 7 deletions
@@ -413,6 +413,7 @@ abstract class BaseMailboxView extends GetWidget<MailboxController>
if (isLabelAvailable) {
final labelListExpandMode = labelController.labelListExpandMode.value;
final labels = labelController.labels;
final shouldAskReadOnly = labelController.shouldAskReadOnly;
return AnimatedContainer(
duration: const Duration(milliseconds: 400),
@@ -421,6 +422,7 @@ abstract class BaseMailboxView extends GetWidget<MailboxController>
labels: labels,
imagePaths: controller.imagePaths,
isDesktop: isDesktop,
shouldAskReadOnly: shouldAskReadOnly,
labelIdSelected: labelIdSelected,
isMobileResponsive: isMobileResponsive,
onOpenLabelCallback: (label) => controller.openMailbox(