TF-2890 Remove calendar event reply description text
This commit is contained in:
@@ -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,
|
||||
|
||||
-10
@@ -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
|
||||
),
|
||||
)
|
||||
]
|
||||
))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user