mirror of https://github.com/M66B/FairEmail.git
Revert "Localize message widget folder names"
This reverts commit 1b079c6a27
.
This commit is contained in:
parent
1f07643918
commit
7183e89be8
|
@ -153,11 +153,8 @@ public class ActivityWidgetUnified extends ActivityBase {
|
||||||
|
|
||||||
DB db = DB.getInstance(context);
|
DB db = DB.getInstance(context);
|
||||||
List<TupleFolderEx> folders = db.folder().getFoldersEx(account);
|
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));
|
Collections.sort(folders, folders.get(0).getComparator(context));
|
||||||
}
|
|
||||||
return folders;
|
return folders;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue