TF-888 Apply new design for vacation on desktop
This commit is contained in:
@@ -23,8 +23,7 @@ extension TimeOfDayExtension on TimeOfDay? {
|
||||
|
||||
String formatTime(BuildContext context) {
|
||||
if (this != null) {
|
||||
return MaterialLocalizations.of(context)
|
||||
.formatTimeOfDay(this!, alwaysUse24HourFormat: true);
|
||||
return MaterialLocalizations.of(context).formatTimeOfDay(this!);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ extension VacationResponseExtension on VacationResponse {
|
||||
? TimeOfDay.fromDateTime(toDate!.value.toUtc())
|
||||
: null,
|
||||
messageBody: textBody ?? htmlBody,
|
||||
subject: subject,
|
||||
vacationStopEnabled: toDate != null
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user