TF-888 Apply new design for vacation on desktop

This commit is contained in:
dab246
2022-09-09 19:11:52 +07:00
committed by Dat H. Pham
parent 6e4d160389
commit 67865fd1a2
14 changed files with 518 additions and 479 deletions
@@ -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
);
}