Fix handling of public access rights of Calendars
parent
b89752cd39
commit
429a3bedb9
|
@ -124,10 +124,13 @@
|
|||
|
||||
if ([currentValue isEqualToString: @"None"])
|
||||
[self removeAllRightsFromList: rightsForType];
|
||||
else if ([rightsForType containsObject: currentValue])
|
||||
[self appendExclusiveRight: [NSString stringWithFormat: @"%@%@",
|
||||
currentType, currentValue]
|
||||
else
|
||||
{
|
||||
currentValue = [NSString stringWithFormat: @"%@%@", currentType, currentValue];
|
||||
if ([rightsForType containsObject: currentValue])
|
||||
[self appendExclusiveRight: currentValue
|
||||
fromList: rightsForType];
|
||||
}
|
||||
currentType = [types nextObject];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue