mirror of https://github.com/M66B/FairEmail.git
Show single account name instead of unified inbox
This commit is contained in:
parent
539874aded
commit
a04665e7a6
|
@ -4767,9 +4767,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
// Get name
|
||||
String name;
|
||||
if (viewType == AdapterMessage.ViewType.UNIFIED)
|
||||
if (type == null)
|
||||
name = getString(R.string.title_folder_unified);
|
||||
else
|
||||
if (type == null) {
|
||||
name = (folders.size() == 1 ? folders.get(0).accountName : null);
|
||||
if (name == null)
|
||||
name = getString(R.string.title_folder_unified);
|
||||
} else
|
||||
name = EntityFolder.localizeType(getContext(), type);
|
||||
else {
|
||||
name = (folders.size() > 0 ? folders.get(0).getDisplayName(getContext()) : "");
|
||||
|
|
Loading…
Reference in New Issue