TF-3793 Hide warning message when use is organizer

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-20 12:45:42 +07:00
committed by Dat H. Pham
parent 1e054cc1e5
commit de5e717b57
2 changed files with 18 additions and 10 deletions
@@ -149,9 +149,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
openEmailAddressDetailAction: openEmailAddressDetailAction,
),
),
if (calendarEvent.validateUserIsNotListedInParticipants(
ownEmailAddress,
))
if (calendarEvent.isDisplayedWarningMessage(ownEmailAddress))
Padding(
padding: EdgeInsetsDirectional.only(
top: CalendarEventInformationWidgetStyles.fieldTopPadding,