1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

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

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