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:
parent
d4380c0139
commit
3d9f9c4ab4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user