mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-19 22:35:19 +00:00
Change the NSString with NSNumber and add some JavaScript
This commit is contained in:
1 parent
43ac57b671
commit
de2ee2322a
5 files changed
+33
-33
No files matched your search
@@ -92,8 +92,8 @@ _intValueFromHex (NSString *hexString)
|
||||
SOGoAppointmentFolder *folder;
|
||||
NSMutableDictionary *calendar;
|
||||
unsigned int count, max;
|
||||
NSString *folderName, *fDisplayName, *fActiveTasks;
|
||||
NSNumber *isActive;
|
||||
NSString *folderName, *fDisplayName;
|
||||
NSNumber *isActive, *fActiveTasks;
|
||||
|
||||
if (!calendars)
|
||||
{
|
||||
@@ -122,7 +122,7 @@ _intValueFromHex (NSString *hexString)
|
||||
forKey: @"owner"];
|
||||
fActiveTasks = [folder activeTasks];
|
||||
if (fActiveTasks == nil)
|
||||
fActiveTasks = @"";
|
||||
fActiveTasks = 0;
|
||||
[calendar setObject:fActiveTasks forKey:@"activeTasks" ];
|
||||
[calendars addObject: calendar];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user