TF-3222 Hide reply calendar event action buttons if email is event reply (#3224)
This commit is contained in:
@@ -356,6 +356,12 @@ extension CalendarEventExtension on CalendarEvent {
|
||||
}
|
||||
|
||||
bool get isDisplayedEventReplyAction => method != null
|
||||
&& _methodIsRepliable
|
||||
&& organizer != null
|
||||
&& participants?.isNotEmpty == true;
|
||||
|
||||
bool get _methodIsRepliable =>
|
||||
method == EventMethod.request ||
|
||||
method == EventMethod.add ||
|
||||
method == EventMethod.counter;
|
||||
}
|
||||
Reference in New Issue
Block a user