(fix) fixed default TRANSP value when creating event
parent
c328ea1823
commit
b7abbeb045
1
NEWS
1
NEWS
|
@ -29,6 +29,7 @@ Bug fixes
|
|||
- [core] properly handle groups in Apple Calendar's delegation
|
||||
- [core] fixed caching expiration of ACLs assigned to LDAP groups (#2867)
|
||||
- [core] make sure new cards always have a UID (#3819)
|
||||
- [core] fixed default TRANSP value when creating event
|
||||
|
||||
3.1.5 (2016-08-10)
|
||||
------------------
|
||||
|
|
|
@ -362,8 +362,10 @@
|
|||
aptEndDate = [self dateFromString: o inContext: context];
|
||||
|
||||
o = [data objectForKey: @"isTransparent"];
|
||||
if ([o isKindOfClass: [NSNumber class]])
|
||||
[self setTransparency: ([o boolValue]? @"TRANSPARENT" : @"OPAQUE")];
|
||||
if ([o isKindOfClass: [NSNumber class]] && [o boolValue])
|
||||
[self setTransparency: @"TRANSPARENT"];
|
||||
else
|
||||
[self setTransparency: @"OPAQUE"];
|
||||
|
||||
isAllDay = [[data objectForKey: @"isAllDay"] boolValue];
|
||||
|
||||
|
|
Loading…
Reference in New Issue