mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 16:25:30 +00:00
Dim archive/sent folder name
This commit is contained in:
parent
f82be4777d
commit
4e8d761881
1 changed files with 4 additions and 1 deletions
|
@ -316,10 +316,13 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
||||||
|
|
||||||
if (viewType == ViewType.UNIFIED)
|
if (viewType == ViewType.UNIFIED)
|
||||||
tvFolder.setText(message.accountName);
|
tvFolder.setText(message.accountName);
|
||||||
else
|
else {
|
||||||
tvFolder.setText(message.folderDisplay == null
|
tvFolder.setText(message.folderDisplay == null
|
||||||
? Helper.localizeFolderName(context, message.folderName)
|
? Helper.localizeFolderName(context, message.folderName)
|
||||||
: message.folderDisplay);
|
: message.folderDisplay);
|
||||||
|
tvFolder.setAlpha(EntityFolder.ARCHIVE.equals(message.folderType) ||
|
||||||
|
EntityFolder.SENT.equals(message.folderType) ? 0.5f : 1.0f);
|
||||||
|
}
|
||||||
tvFolder.setVisibility(viewType == ViewType.FOLDER ? View.GONE : View.VISIBLE);
|
tvFolder.setVisibility(viewType == ViewType.FOLDER ? View.GONE : View.VISIBLE);
|
||||||
|
|
||||||
if (viewType == ViewType.THREAD) {
|
if (viewType == ViewType.THREAD) {
|
||||||
|
|
Loading…
Reference in a new issue