mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Minor code cleanup
This commit is contained in:
parent
7eccc1701d
commit
a8f91b0f70
@ -801,11 +801,9 @@ public class MessageList
|
||||
|
||||
mController.addListener(mAdapter.mListener);
|
||||
|
||||
Account[] accountsWithNotification = null;
|
||||
|
||||
Account[] accountsWithNotification;
|
||||
if (mAccount != null) {
|
||||
accountsWithNotification = new Account[1];
|
||||
accountsWithNotification[0] = mAccount;
|
||||
accountsWithNotification = new Account[] { mAccount };
|
||||
} else {
|
||||
Preferences preferences = Preferences.getPreferences(this);
|
||||
accountsWithNotification = preferences.getAccounts();
|
||||
|
Loading…
Reference in New Issue
Block a user