File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -697,10 +697,11 @@ - (NSDictionary *)serializeCalendarEvent:(EKEvent *)event
697
697
[formedCalendarEvent setValue: [self availabilityStringMatchingConstant: event.availability] forKey: _availability];
698
698
699
699
@try {
700
- if (event.structuredLocation && event.structuredLocation .title && event. structuredLocation . radius ) {
700
+ if (event.structuredLocation && event.structuredLocation .radius ) {
701
701
NSMutableDictionary *structuredLocation = [[NSMutableDictionary alloc ] initWithCapacity: 3 ];
702
702
[structuredLocation addEntriesFromDictionary: @{
703
- @" title" : event.structuredLocation .title ,
703
+ @" title" : event.structuredLocation .title
704
+ ? event.structuredLocation .title : @" " ,
704
705
@" radius" : @(event.structuredLocation .radius )
705
706
}];
706
707
if (event.structuredLocation .geoLocation ) {
You can’t perform that action at this time.
0 commit comments