1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Replaced references to K9.INBOX with account.getInboxFolderName()

This commit is contained in:
bitblaster 2011-04-05 02:12:06 -07:00 committed by Jesse Vincent
parent 236226858c
commit ccc79f62b9

View File

@ -491,7 +491,7 @@ public class MessageList
if (mFolderName != null) { if (mFolderName != null) {
displayName = mFolderName; displayName = mFolderName;
if (K9.INBOX.equalsIgnoreCase(displayName)) { if (mAccount.getInboxFolderName().equalsIgnoreCase(displayName)) {
displayName = getString(R.string.special_mailbox_name_inbox); displayName = getString(R.string.special_mailbox_name_inbox);
} else if (mAccount.getOutboxFolderName().equals(displayName)) { } else if (mAccount.getOutboxFolderName().equals(displayName)) {
displayName = getString(R.string.special_mailbox_name_outbox); displayName = getString(R.string.special_mailbox_name_outbox);