mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 16:28:51 +00:00
(fix) fixed default TRANSP value when creating event
This commit is contained in:
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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user