diff --git a/lib/features/email/presentation/extensions/calendar_event_extension.dart b/lib/features/email/presentation/extensions/calendar_event_extension.dart index d85ad3ddc..1c7868b40 100644 --- a/lib/features/email/presentation/extensions/calendar_event_extension.dart +++ b/lib/features/email/presentation/extensions/calendar_event_extension.dart @@ -99,17 +99,6 @@ extension CalendarEventExtension on CalendarEvent { } } - String getSubTitleEventAction(BuildContext context) { - switch(method) { - case EventMethod.refresh: - return AppLocalizations.of(context).subMessageEventActionBannerUpdated; - case EventMethod.cancel: - return AppLocalizations.of(context).subMessageEventActionBannerCanceled; - default: - return ''; - } - } - String getUserNameEventAction({ required BuildContext context, required ImagePaths imagePaths, diff --git a/lib/features/email/presentation/widgets/calendar_event/calendar_event_action_banner_widget.dart b/lib/features/email/presentation/widgets/calendar_event/calendar_event_action_banner_widget.dart index 6517341f2..36c650746 100644 --- a/lib/features/email/presentation/widgets/calendar_event/calendar_event_action_banner_widget.dart +++ b/lib/features/email/presentation/widgets/calendar_event/calendar_event_action_banner_widget.dart @@ -1,5 +1,4 @@ -import 'package:core/presentation/extensions/color_extension.dart'; import 'package:core/presentation/resources/image_paths.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter_svg/flutter_svg.dart'; @@ -73,15 +72,6 @@ class CalendarEventActionBannerWidget extends StatelessWidget { ] ) ), - if (calendarEvent.getSubTitleEventAction(context).isNotEmpty) - Text( - calendarEvent.getSubTitleEventAction(context), - style: const TextStyle( - color: AppColor.colorSubTitleEventActionText, - fontSize: CalendarEventActionBannerStyles.subTileTextSize, - fontWeight: FontWeight.w400 - ), - ) ] )) ] diff --git a/lib/l10n/intl_messages.arb b/lib/l10n/intl_messages.arb index 81ce7423e..dbec22b6e 100644 --- a/lib/l10n/intl_messages.arb +++ b/lib/l10n/intl_messages.arb @@ -2930,18 +2930,6 @@ "placeholders_order": [], "placeholders": {} }, - "subMessageEventActionBannerUpdated": "\"The time has been updated to better suit all of you\"", - "@subMessageEventActionBannerUpdated": { - "type": "text", - "placeholders_order": [], - "placeholders": {} - }, - "subMessageEventActionBannerCanceled": "\"We are canceling the event due to bad weather.\"", - "@subMessageEventActionBannerCanceled": { - "type": "text", - "placeholders_order": [], - "placeholders": {} - }, "anAttendee": "An attendee", "@anAttendee": { "type": "text", diff --git a/lib/main/localizations/app_localizations.dart b/lib/main/localizations/app_localizations.dart index 2f8f74661..ad73d1734 100644 --- a/lib/main/localizations/app_localizations.dart +++ b/lib/main/localizations/app_localizations.dart @@ -3028,18 +3028,6 @@ class AppLocalizations { name: 'messageEventActionBannerOrganizerCanceled'); } - String get subMessageEventActionBannerUpdated { - return Intl.message( - '"The time has been updated to better suit all of you"', - name: 'subMessageEventActionBannerUpdated'); - } - - String get subMessageEventActionBannerCanceled { - return Intl.message( - '"We are canceling the event due to bad weather."', - name: 'subMessageEventActionBannerCanceled'); - } - String get anAttendee { return Intl.message( 'An attendee',