TF-3792 Hide buttons of blue bar in case of event not belong to this account and change

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-20 10:42:21 +07:00
committed by Dat H. Pham
parent 3e48d9cf92
commit 8579eb2518
18 changed files with 377 additions and 396 deletions
@@ -367,13 +367,22 @@ class EmailView extends GetWidget<SingleEmailController> {
onOpenComposerAction: controller.openNewComposerAction,
onOpenNewTabAction: controller.openNewTabAction,
onCalendarEventReplyActionClick: (eventActionType) =>
controller.onCalendarEventReplyAction(eventActionType, presentationEmail.id!),
controller.onCalendarEventReplyAction(
eventActionType,
presentationEmail.id!,
),
calendarEventReplying: controller.calendarEventProcessing,
attendanceStatus: controller.attendanceStatus.value,
ownEmailAddress: controller
.mailboxDashBoardController
.getOwnEmailAddress(),
onMailtoAttendeesAction: controller.handleMailToAttendees,
openEmailAddressDetailAction: controller.openEmailAddressDialog,
isFree: controller.isCalendarEventFree,
listEmailAddressSender: emailAddressSender ?? [],
isPortraitMobile: controller
.responsiveUtils
.isPortraitMobile(context),
)),
if (_validateDisplayEventActionBanner(
context: context,