TF-4102 Don't display free-busy on IMIP responses (accepted, tentative, rejected)
This commit is contained in:
+3
-3
@@ -31,7 +31,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
|
||||
final AttendanceStatus? attendanceStatus;
|
||||
final OnMailtoAttendeesAction? onMailtoAttendeesAction;
|
||||
final OnOpenEmailAddressDetailAction? openEmailAddressDetailAction;
|
||||
final bool isFree;
|
||||
final bool isFreeBusyEnabled;
|
||||
final List<String> listEmailAddressSender;
|
||||
final String ownEmailAddress;
|
||||
final bool isPortraitMobile;
|
||||
@@ -41,7 +41,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
|
||||
required this.calendarEvent,
|
||||
required this.onCalendarEventReplyActionClick,
|
||||
required this.calendarEventReplying,
|
||||
required this.isFree,
|
||||
required this.isFreeBusyEnabled,
|
||||
required this.ownEmailAddress,
|
||||
this.onOpenNewTabAction,
|
||||
this.onOpenComposerAction,
|
||||
@@ -233,7 +233,7 @@ class CalendarEventInformationWidget extends StatelessWidget {
|
||||
padding: const EdgeInsets.only(top: CalendarEventInformationWidgetStyles.fieldTopPadding),
|
||||
child: EventTimeInformationWidget(
|
||||
timeEvent: dateTimeEvent,
|
||||
isFree: isFree,
|
||||
isFreeBusyEnabled: isFreeBusyEnabled,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
|
||||
+3
-3
@@ -13,12 +13,12 @@ import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
||||
class EventTimeInformationWidget extends StatelessWidget {
|
||||
|
||||
final String timeEvent;
|
||||
final bool isFree;
|
||||
final bool isFreeBusyEnabled;
|
||||
|
||||
const EventTimeInformationWidget({
|
||||
super.key,
|
||||
required this.timeEvent,
|
||||
required this.isFree,
|
||||
required this.isFreeBusyEnabled,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -51,7 +51,7 @@ class EventTimeInformationWidget extends StatelessWidget {
|
||||
color: EventTimeInformationWidgetStyles.valueColor
|
||||
),
|
||||
)),
|
||||
if (!isFree)
|
||||
if (isFreeBusyEnabled)
|
||||
...[
|
||||
const SizedBox(width: EventTimeInformationWidgetStyles.horizontalSpacing),
|
||||
Tooltip(
|
||||
|
||||
Reference in New Issue
Block a user