fix(calendar): Fix empty recurence list when creating event from mail

This commit is contained in:
smizrahi
2024-06-03 22:38:58 +02:00
parent 1a47fdb7d6
commit 2756176503
9 changed files with 131 additions and 39 deletions
-16
View File
@@ -346,22 +346,6 @@
return (view ? view : @"weekview");
}
- (NSArray *) repeatFrequencies
{
NSArray *repeatFrequencies;
repeatFrequencies = [NSArray arrayWithObjects:
[NSArray arrayWithObjects: @"never", [self labelForKey: @"repeat_NEVER"], nil],
[NSArray arrayWithObjects: @"daily",[self labelForKey: @"repeat_DAILY"], nil],
[NSArray arrayWithObjects: @"weekly",[self labelForKey: @"repeat_WEEKLY"], nil],
[NSArray arrayWithObjects: @"monthly",[self labelForKey: @"repeat_MONTHLY"], nil],
[NSArray arrayWithObjects: @"yearly", [self labelForKey: @"repeat_YEARLY"], nil],
[NSArray arrayWithObjects: @"custom", [self labelForKey: @"repeat_CUSTOM"], nil],
nil];
return repeatFrequencies;
}
- (BOOL) isCalendarSharingEnabled {
BOOL result;
SOGoSystemDefaults *sd;