Commit d70aff48 authored by Ignacio García's avatar Ignacio García

P4A-893 Remove redundant else if statement.

parent 06a2bd21
......@@ -1200,10 +1200,7 @@ public class MessageList extends PepActivity implements MessageListFragmentListe
if (!hasMessageListFragment) {
FragmentTransaction ft = fragmentManager.beginTransaction();
if(mSearch.searchAllAccounts() && specialAccountUuid != null) {
if(specialAccountUuid.equals(SearchAccount.UNIFIED_INBOX)) {
mMessageListFragment = MessageListFragment.newInstance(mSearch, false, false);
}
else if(specialAccountUuid.equals(SearchAccount.ALL_MESSAGES)) {
if(specialAccountUuid.equals(SearchAccount.UNIFIED_INBOX) || specialAccountUuid.equals(SearchAccount.ALL_MESSAGES)) {
mMessageListFragment = MessageListFragment.newInstance(mSearch, false, false);
}
specialAccountUuid = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment