Fix rename of calendars, improve tasks count badge

This commit is contained in:
Francis Lachapelle
2014-07-08 17:19:55 -04:00
parent 1cf4841477
commit 45553be122
10 changed files with 87 additions and 49 deletions
+2 -1
View File
@@ -121,7 +121,8 @@ _intValueFromHex (NSString *hexString)
[calendar setObject: [folder ownerInContext: context]
forKey: @"owner"];
fActiveTasks = [folder activeTasks];
[calendar setObject:fActiveTasks forKey:@"activeTasks" ];
if (fActiveTasks > 0)
[calendar setObject: fActiveTasks forKey:@"activeTasks" ];
[calendars addObject: calendar];
}
}