diff --git a/res/layout/account_setup_basics.xml b/res/layout/account_setup_basics.xml index c134e90dd..50f6c4d67 100644 --- a/res/layout/account_setup_basics.xml +++ b/res/layout/account_setup_basics.xml @@ -35,13 +35,6 @@ android:layout_width="fill_parent" android:nextFocusDown="@+id/next" /> - 0) { - mDefaultView.setVisibility(View.VISIBLE); - } - if (savedInstanceState != null && savedInstanceState.containsKey(EXTRA_ACCOUNT)) { String accountUuid = savedInstanceState.getString(EXTRA_ACCOUNT); mAccount = Preferences.getPreferences(this).getAccount(accountUuid); @@ -276,9 +269,6 @@ public class AccountSetupBasics extends K9Activity if (resultCode == RESULT_OK) { mAccount.setDescription(mAccount.getEmail()); mAccount.save(Preferences.getPreferences(this)); - if (mDefaultView.isChecked()) { - Preferences.getPreferences(this).setDefaultAccount(mAccount); - } K9.setServicesEnabled(this); AccountSetupNames.actionSetNames(this, mAccount); finish(); @@ -323,7 +313,8 @@ public class AccountSetupBasics extends K9Activity mAccount.setSpamFolderName(getString(R.string.special_mailbox_name_spam)); } - AccountSetupAccountType.actionSelectAccountType(this, mAccount, mDefaultView.isChecked()); + AccountSetupAccountType.actionSelectAccountType(this, mAccount, false); + finish(); }