Don't save account settings until after we save the updated push

settings.
This commit is contained in:
Jesse Vincent 2012-01-06 20:12:40 -05:00
parent d4380c0139
commit 3d9f9c4ab4
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,6 @@ public class AccountSettings extends K9PreferenceActivity {
mAccount.setScrollMessageViewButtons(Account.ScrollButtons.valueOf(mAccountScrollButtons.getValue()));
mAccount.setShowPictures(Account.ShowPictures.valueOf(mAccountShowPictures.getValue()));
mAccount.save(Preferences.getPreferences(this));
if (mIsPushCapable) {
boolean needsPushRestart = mAccount.setFolderPushMode(Account.FolderMode.valueOf(mPushMode.getValue()));
@ -802,6 +801,7 @@ public class AccountSettings extends K9PreferenceActivity {
}
}
// TODO: refresh folder list here
mAccount.save(Preferences.getPreferences(this));
}
@Override