mirror of https://github.com/M66B/FairEmail.git
Allow setting inbox display name
This commit is contained in:
parent
37c2f1c7d2
commit
f5a2e16383
|
@ -416,7 +416,7 @@ public class FragmentFolder extends FragmentBase {
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
etName.setText(folder == null ? null : folder.name);
|
etName.setText(folder == null ? null : folder.name);
|
||||||
etDisplay.setText(folder == null ? null : folder.display);
|
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);
|
cbHide.setChecked(folder == null ? false : folder.hide);
|
||||||
cbUnified.setChecked(folder == null ? false : folder.unified);
|
cbUnified.setChecked(folder == null ? false : folder.unified);
|
||||||
cbNavigation.setChecked(folder == null ? false : folder.navigation);
|
cbNavigation.setChecked(folder == null ? false : folder.navigation);
|
||||||
|
@ -436,7 +436,6 @@ public class FragmentFolder extends FragmentBase {
|
||||||
|
|
||||||
Helper.setViewsEnabled(view, true);
|
Helper.setViewsEnabled(view, true);
|
||||||
etName.setEnabled(folder == null);
|
etName.setEnabled(folder == null);
|
||||||
etDisplay.setEnabled(folder == null || !EntityFolder.INBOX.equals(folder.type));
|
|
||||||
cbPoll.setEnabled(cbSynchronize.isChecked());
|
cbPoll.setEnabled(cbSynchronize.isChecked());
|
||||||
cbDownload.setEnabled(cbSynchronize.isChecked());
|
cbDownload.setEnabled(cbSynchronize.isChecked());
|
||||||
btnSave.setEnabled(true);
|
btnSave.setEnabled(true);
|
||||||
|
|
Loading…
Reference in New Issue