mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639
This commit is contained in:
@@ -200,16 +200,16 @@
|
||||
|
||||
selfName = [self realNameInContainer];
|
||||
otherName = [otherFolder realNameInContainer];
|
||||
if ([selfName isEqualToString: @"personal"] || [selfName isEqualToString: @"Personal"])
|
||||
if ([[selfName lowercaseString] isEqualToString: @"personal"])
|
||||
{
|
||||
if ([otherName isEqualToString: @"personal"] || [otherName isEqualToString: @"Personal"])
|
||||
if ([[otherName lowercaseString] isEqualToString: @"personal"])
|
||||
comparison = NSOrderedSame;
|
||||
else
|
||||
comparison = NSOrderedAscending;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ([otherName isEqualToString: @"personal"] || [otherName isEqualToString: @"Personal"])
|
||||
if ([[otherName lowercaseString] isEqualToString: @"personal"])
|
||||
comparison = NSOrderedDescending;
|
||||
else
|
||||
comparison = NSOrderedSame;
|
||||
|
||||
Reference in New Issue
Block a user