From f5a2e16383f262edbfea63b821e29e933c1ff340 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 30 Apr 2019 21:50:42 +0200 Subject: [PATCH] Allow setting inbox display name --- app/src/main/java/eu/faircode/email/FragmentFolder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentFolder.java b/app/src/main/java/eu/faircode/email/FragmentFolder.java index 27ae91509c..644c51964a 100644 --- a/app/src/main/java/eu/faircode/email/FragmentFolder.java +++ b/app/src/main/java/eu/faircode/email/FragmentFolder.java @@ -416,7 +416,7 @@ public class FragmentFolder extends FragmentBase { if (savedInstanceState == null) { etName.setText(folder == null ? null : folder.name); etDisplay.setText(folder == null ? null : folder.display); - etDisplay.setHint(folder == null ? null : folder.name); + etDisplay.setHint(folder == null ? null : Helper.localizeFolderName(getContext(), folder.name)); cbHide.setChecked(folder == null ? false : folder.hide); cbUnified.setChecked(folder == null ? false : folder.unified); cbNavigation.setChecked(folder == null ? false : folder.navigation); @@ -436,7 +436,6 @@ public class FragmentFolder extends FragmentBase { Helper.setViewsEnabled(view, true); etName.setEnabled(folder == null); - etDisplay.setEnabled(folder == null || !EntityFolder.INBOX.equals(folder.type)); cbPoll.setEnabled(cbSynchronize.isChecked()); cbDownload.setEnabled(cbSynchronize.isChecked()); btnSave.setEnabled(true);