mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04: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