Allow user to choose which weekdays to display

Closes #1841
This commit is contained in:
Francis Lachapelle
2016-05-06 14:14:45 -04:00
parent 3c6da09ff8
commit c5eeadf041
29 changed files with 393 additions and 146 deletions
+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"];