1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fixed the manual configuration ( I broke before ).

This commit is contained in:
dzan 2011-07-19 13:37:36 +02:00 committed by Andrew Chen
parent 52d9ba89df
commit b19928a298

View File

@ -64,7 +64,7 @@ public class AccountSetupAccountType extends K9Activity implements OnClickListen
((Button)findViewById(R.id.imap)).setOnClickListener(this); ((Button)findViewById(R.id.imap)).setOnClickListener(this);
((Button)findViewById(R.id.webdav)).setOnClickListener(this); ((Button)findViewById(R.id.webdav)).setOnClickListener(this);
if( getIntent().getStringExtra(EXTRA_IS_MANUAL) != null){ if( getIntent().getBooleanExtra(EXTRA_IS_MANUAL, false) ){
mAccount = Account.getBlankAccount(this, mAccount = Account.getBlankAccount(this,
getIntent().getStringExtra(EXTRA_EMAIL), getIntent().getStringExtra(EXTRA_EMAIL),
getIntent().getStringExtra(EXTRA_PASSWORD)); getIntent().getStringExtra(EXTRA_PASSWORD));