Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9b28d62 authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Fix a NPE

parent 30d31c70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class ActivityListener extends MessagingListener {

            if (mLoadingFolderName != null || mLoadingHeaderFolderName != null) {
                String displayName = mLoadingFolderName;
                if (mAccount.getInboxFolderName().equalsIgnoreCase(displayName)) {
                if ((mAccount != null) &&  (mAccount.getInboxFolderName()!= null) && mAccount.getInboxFolderName().equalsIgnoreCase(displayName)) {
                    displayName = context.getString(R.string.special_mailbox_name_inbox);
                } else if ((mAccount != null) && mAccount.getOutboxFolderName().equals(displayName)) {
                    displayName = context.getString(R.string.special_mailbox_name_outbox);