fix(preferences): Fix language list sorting on preferences page

This commit is contained in:
Hivert Quentin committed 2023-08-04 10:36:50 +02:00
1 parent 528d178256
commit f5f74f751a
4 files changed
+14 -10

No files matched your search

-9
View File
@@ -659,15 +659,6 @@ static const NSString *kJwtKey = @"jwt";
return [self labelForKey: [self language]];
}
NSComparisonResult languageSort(id el1, id el2, void *context)
{
NSString *t1, *t2;
t1 = [context labelForKey: el1];
t2 = [context labelForKey: el2];
return [t1 compare: t2 options: NSCaseInsensitiveSearch];
}
- (NSArray *) languages
{