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

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

View File

@@ -1129,12 +1129,13 @@ static NSArray *reminderValues = nil;
userCanChangePassword];
}
//
// Used by wox template
//
- (NSArray *) languages
{
return [[SOGoSystemDefaults sharedSystemDefaults] supportedLanguages];
return [[[SOGoSystemDefaults sharedSystemDefaults] supportedLanguages] sortedArrayUsingFunction: languageSort context: self];
}
//