1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Simplified folder name

This commit is contained in:
M66B 2019-10-19 22:18:04 +02:00
parent c815f1fcd0
commit e09a5beec1

View file

@ -806,8 +806,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (viewType == ViewType.FOLDER)
tvFolder.setText(outbox ? message.identityEmail : message.accountName);
else if (type == null)
tvFolder.setText((compact ? "" : message.accountName + "/") + message.getFolderName(context));
else if (viewType == ViewType.THREAD || viewType == ViewType.SEARCH)
tvFolder.setText(message.getFolderName(context));
else
tvFolder.setText(message.accountName + "/" + message.getFolderName(context));