Fix build breakage

This commit is contained in:
satok 2009-10-20 04:15:13 +09:00
parent ba78d18f59
commit 4bc81bb286

View File

@ -752,9 +752,9 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen
} }
TextView unreadCountView = (TextView) view.findViewById(R.id.new_message_count); TextView unreadCountView = (TextView) view.findViewById(R.id.new_message_count);
TextView allCountView = (TextView) view.findViewById(R.id.all_message_count); TextView allCountView = (TextView) view.findViewById(R.id.all_message_count);
int id = cursor.getInt(MAILBOX_COLUMN_ID);
// If the unread count is zero, not to show countView. // If the unread count is zero, not to show countView.
if (count > 0) { if (count > 0) {
int id = cursor.getInt(MAILBOX_COLUMN_ID);
if (id == Mailbox.QUERY_ALL_FAVORITES if (id == Mailbox.QUERY_ALL_FAVORITES
|| id == Mailbox.QUERY_ALL_DRAFTS || id == Mailbox.QUERY_ALL_DRAFTS
|| id == Mailbox.QUERY_ALL_OUTBOX) { || id == Mailbox.QUERY_ALL_OUTBOX) {