Allow user to choose which weekdays to display

Closes #1841
This commit is contained in:
Francis Lachapelle committed 2016-05-06 14:22:52 -04:00
1 parent 3c6da09ff8
commit c5eeadf041
29 files changed
+393 -146

No files matched your search

+10
View File
@@ -741,6 +741,16 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
return [self objectForKey: @"SOGoCalendarCategoriesColors"];
}
- (void) setCalendarWeekdays: (NSArray *) newValues
{
[self setObject: newValues forKey: @"SOGoCalendarWeekdays"];
}
- (NSArray *) calendarWeekdays
{
return [self stringArrayForKey: @"SOGoCalendarWeekdays"];
}
- (void) setCalendarShouldDisplayWeekend: (BOOL) newValue
{
[self setBool: newValue forKey: @"SOGoCalendarShouldDisplayWeekend"];