mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28: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);
|
mController.addListener(mAdapter.mListener);
|
||||||
|
|
||||||
Account[] accountsWithNotification = null;
|
Account[] accountsWithNotification;
|
||||||
|
|
||||||
if (mAccount != null) {
|
if (mAccount != null) {
|
||||||
accountsWithNotification = new Account[1];
|
accountsWithNotification = new Account[] { mAccount };
|
||||||
accountsWithNotification[0] = mAccount;
|
|
||||||
} else {
|
} else {
|
||||||
Preferences preferences = Preferences.getPreferences(this);
|
Preferences preferences = Preferences.getPreferences(this);
|
||||||
accountsWithNotification = preferences.getAccounts();
|
accountsWithNotification = preferences.getAccounts();
|
||||||
|
Loading…
Reference in New Issue
Block a user