mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
Fixes Issue 1653
All set the display class, whether or not in push mode.
This commit is contained in:
parent
7ca2086c73
commit
6c814fb5e7
@ -428,10 +428,12 @@ public class AccountSettings extends K9PreferenceActivity
|
||||
needsRefresh |= mAccount.setFolderSyncMode(Account.FolderMode.valueOf(mSyncMode.getValue()));
|
||||
|
||||
boolean needsPushRestart = mAccount.setFolderPushMode(Account.FolderMode.valueOf(mPushMode.getValue()));
|
||||
boolean displayModeChanged = mAccount.setFolderDisplayMode(Account.FolderMode.valueOf(mDisplayMode.getValue()));
|
||||
|
||||
if (mAccount.getFolderPushMode() != FolderMode.NONE)
|
||||
{
|
||||
needsPushRestart |= mAccount.setFolderDisplayMode(Account.FolderMode.valueOf(mDisplayMode.getValue()));
|
||||
needsPushRestart |= mIncomingChanged;
|
||||
needsPushRestart |= displayModeChanged;
|
||||
displayModeChanged |= mIncomingChanged;
|
||||
}
|
||||
|
||||
SharedPreferences prefs = mAccountRingtone.getPreferenceManager().getSharedPreferences();
|
||||
|
Loading…
Reference in New Issue
Block a user