diff --git a/contact/pubspec.lock b/contact/pubspec.lock index f7571fd24..3cde23d44 100644 --- a/contact/pubspec.lock +++ b/contact/pubspec.lock @@ -660,7 +660,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/email_recovery/pubspec.lock b/email_recovery/pubspec.lock index 0d94acf71..58043ced1 100644 --- a/email_recovery/pubspec.lock +++ b/email_recovery/pubspec.lock @@ -296,7 +296,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/fcm/pubspec.lock b/fcm/pubspec.lock index b6a875033..d938da346 100644 --- a/fcm/pubspec.lock +++ b/fcm/pubspec.lock @@ -296,7 +296,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/forward/pubspec.lock b/forward/pubspec.lock index b6a875033..d938da346 100644 --- a/forward/pubspec.lock +++ b/forward/pubspec.lock @@ -296,7 +296,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/lib/features/manage_account/presentation/extensions/vacation_response_extension.dart b/lib/features/manage_account/presentation/extensions/vacation_response_extension.dart index 24fbbb21e..7a1e0c2d0 100644 --- a/lib/features/manage_account/presentation/extensions/vacation_response_extension.dart +++ b/lib/features/manage_account/presentation/extensions/vacation_response_extension.dart @@ -22,7 +22,6 @@ extension VacationResponseExtension on VacationResponse { endTime: toDate?.value != null ? TimeOfDay.fromDateTime(toDate!.value.toLocal()) : null, - messagePlainText: textBody, messageHtmlText: htmlBody, subject: subject, vacationStopEnabled: toDate != null @@ -78,7 +77,6 @@ extension VacationResponseExtension on VacationResponse { UTCDate? fromDate, UTCDate? toDate, String? subject, - String? textBody, String? htmlBody }) { return VacationResponse( @@ -86,7 +84,6 @@ extension VacationResponseExtension on VacationResponse { fromDate: fromDate ?? this.fromDate, toDate: toDate ?? this.toDate, subject: subject ?? this.subject, - textBody: textBody ?? this.textBody, htmlBody: htmlBody ?? this.htmlBody ); } diff --git a/lib/features/manage_account/presentation/model/vacation/vacation_presentation.dart b/lib/features/manage_account/presentation/model/vacation/vacation_presentation.dart index 9d0b94800..a08de18f3 100644 --- a/lib/features/manage_account/presentation/model/vacation/vacation_presentation.dart +++ b/lib/features/manage_account/presentation/model/vacation/vacation_presentation.dart @@ -14,7 +14,6 @@ class VacationPresentation with EquatableMixin, OptionParamMixin { final TimeOfDay? startTime; final DateTime? endDate; final TimeOfDay? endTime; - final String? messagePlainText; final String? messageHtmlText; final String? subject; final bool vacationStopEnabled; @@ -25,7 +24,6 @@ class VacationPresentation with EquatableMixin, OptionParamMixin { this.startTime, this.endDate, this.endTime, - this.messagePlainText, this.messageHtmlText, this.subject, this.vacationStopEnabled = false, @@ -52,7 +50,6 @@ class VacationPresentation with EquatableMixin, OptionParamMixin { startTime: getOptionParam(startTimeOption, startTime), endDate: getOptionParam(endDateOption, endDate), endTime: getOptionParam(endTimeOption, endTime), - messagePlainText: getOptionParam(messagePlainTextOption, messagePlainText), messageHtmlText: getOptionParam(messageHtmlTextOption, messageHtmlText), subject: getOptionParam(subjectOption, subject), vacationStopEnabled: vacationStopEnabled ?? this.vacationStopEnabled @@ -81,7 +78,6 @@ class VacationPresentation with EquatableMixin, OptionParamMixin { endDate, endTime, vacationStopEnabled, - messagePlainText, messageHtmlText, subject, ]; @@ -93,7 +89,6 @@ extension VacationPresentationExtension on VacationPresentation { isEnabled: isEnabled, fromDate: fromDate != null ? UTCDate(fromDate!.toUtc()) : null, toDate: toDate != null ? UTCDate(toDate!.toUtc()) : null, - textBody: messagePlainText, htmlBody: messageHtmlText, subject: subject, ); diff --git a/lib/features/manage_account/presentation/vacation/vacation_controller.dart b/lib/features/manage_account/presentation/vacation/vacation_controller.dart index 59d3f627c..97424654e 100644 --- a/lib/features/manage_account/presentation/vacation/vacation_controller.dart +++ b/lib/features/manage_account/presentation/vacation/vacation_controller.dart @@ -90,7 +90,7 @@ class VacationController extends BaseController { void _initializeValueForVacation(VacationPresentation newVacation) { vacationPresentation.value = newVacation; subjectTextController.text = newVacation.subject ?? ''; - updateMessageHtmlText(newVacation.messageHtmlText ?? newVacation.messagePlainText ?? ''); + updateMessageHtmlText(newVacation.messageHtmlText ?? ''); if (PlatformInfo.isWeb) { _richTextControllerForWeb.editorController.setText(newVacation.messageHtmlText ?? ''); } else { diff --git a/model/pubspec.lock b/model/pubspec.lock index 860bad9df..6a29ea0c8 100644 --- a/model/pubspec.lock +++ b/model/pubspec.lock @@ -652,7 +652,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/pubspec.lock b/pubspec.lock index 86ee3f497..ea172177e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1332,7 +1332,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/rule_filter/pubspec.lock b/rule_filter/pubspec.lock index b6a875033..d938da346 100644 --- a/rule_filter/pubspec.lock +++ b/rule_filter/pubspec.lock @@ -296,7 +296,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2" diff --git a/server_settings/pubspec.lock b/server_settings/pubspec.lock index 5d956286b..eed1c4084 100644 --- a/server_settings/pubspec.lock +++ b/server_settings/pubspec.lock @@ -288,7 +288,7 @@ packages: description: path: "." ref: main - resolved-ref: "392f12f7a1f6babfa64c143909178c8e1451c69f" + resolved-ref: "278183b54ccfcda7396273c556609d28194e34f1" url: "https://github.com/linagora/jmap-dart-client.git" source: git version: "0.3.2"