mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Fix Issue 774 - Don't show folder choosers before we have a working account
This commit is contained in:
parent
20d9a19a97
commit
b9509e73f2
@ -230,6 +230,11 @@ public class AccountSetupIncoming extends K9Activity 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);
|
||||||
mAccount.setDeletePolicy(Account.DELETE_POLICY_ON_DELETE);
|
mAccount.setDeletePolicy(Account.DELETE_POLICY_ON_DELETE);
|
||||||
|
|
||||||
|
if (! Intent.ACTION_EDIT.equals(getIntent().getAction())) {
|
||||||
|
findViewById(R.id.imap_folder_setup_section).setVisibility(View.GONE);
|
||||||
|
}
|
||||||
|
|
||||||
} 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