mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Localize message widget folder names
This commit is contained in:
parent
ca904aa03b
commit
1b079c6a27
1 changed files with 4 additions and 1 deletions
|
@ -153,8 +153,11 @@ public class ActivityWidgetUnified extends ActivityBase {
|
|||
|
||||
DB db = DB.getInstance(context);
|
||||
List<TupleFolderEx> folders = db.folder().getFoldersEx(account);
|
||||
if (folders != null && folders.size() > 0)
|
||||
if (folders != null && folders.size() > 0) {
|
||||
for (TupleFolderEx folder : folders)
|
||||
folder.name = EntityFolder.localizeName(context, folder.name);
|
||||
Collections.sort(folders, folders.get(0).getComparator(context));
|
||||
}
|
||||
return folders;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue