mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Fix for empty real folder name issue identified in Comment 10 of Issue
366 Affected POP3 and WebDAV accounts
This commit is contained in:
parent
ee4ac07788
commit
e92ac38052
@ -200,6 +200,11 @@ public class AccountSetupIncoming extends Activity implements OnClickListener {
|
|||||||
if (password != null) {
|
if (password != null) {
|
||||||
mPasswordView.setText(password);
|
mPasswordView.setText(password);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mImapFolderDrafts.setText(mAccount.getDraftsFolderName());
|
||||||
|
mImapFolderSent.setText(mAccount.getSentFolderName());
|
||||||
|
mImapFolderTrash.setText(mAccount.getTrashFolderName());
|
||||||
|
mImapFolderOutbox.setText(mAccount.getOutboxFolderName());
|
||||||
|
|
||||||
if (uri.getScheme().startsWith("pop3")) {
|
if (uri.getScheme().startsWith("pop3")) {
|
||||||
serverLabelView.setText(R.string.account_setup_incoming_pop_server_label);
|
serverLabelView.setText(R.string.account_setup_incoming_pop_server_label);
|
||||||
@ -221,10 +226,6 @@ public class AccountSetupIncoming extends Activity implements OnClickListener {
|
|||||||
findViewById(R.id.webdav_path_prefix_section).setVisibility(View.GONE);
|
findViewById(R.id.webdav_path_prefix_section).setVisibility(View.GONE);
|
||||||
findViewById(R.id.webdav_path_debug_section).setVisibility(View.GONE);
|
findViewById(R.id.webdav_path_debug_section).setVisibility(View.GONE);
|
||||||
|
|
||||||
mImapFolderDrafts.setText(mAccount.getDraftsFolderName());
|
|
||||||
mImapFolderSent.setText(mAccount.getSentFolderName());
|
|
||||||
mImapFolderTrash.setText(mAccount.getTrashFolderName());
|
|
||||||
mImapFolderOutbox.setText(mAccount.getOutboxFolderName());
|
|
||||||
} else if (uri.getScheme().startsWith("webdav")) {
|
} else if (uri.getScheme().startsWith("webdav")) {
|
||||||
serverLabelView.setText(R.string.account_setup_incoming_webdav_server_label);
|
serverLabelView.setText(R.string.account_setup_incoming_webdav_server_label);
|
||||||
mAccountPorts = webdavPorts;
|
mAccountPorts = webdavPorts;
|
||||||
|
Loading…
Reference in New Issue
Block a user