TF-4272 Fix logic return empty string when descriptions & emailContentTrimmed is empty
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ class CalendarEventDetailWidget extends StatelessWidget {
|
|||||||
final descriptions = calendarEvent.description?.trimmed ?? '';
|
final descriptions = calendarEvent.description?.trimmed ?? '';
|
||||||
final emailContentTrimmed = emailContent.trimmed;
|
final emailContentTrimmed = emailContent.trimmed;
|
||||||
|
|
||||||
if (descriptions.isEmpty || emailContentTrimmed.isEmpty) {
|
if (descriptions.isEmpty && emailContentTrimmed.isEmpty) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user