Revert "Localize message widget folder names"

This reverts commit 1b079c6a27.
This commit is contained in:
M66B 2020-06-06 11:18:39 +02:00
parent 1f07643918
commit 7183e89be8
1 changed files with 1 additions and 4 deletions

View File

@ -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;
} }