Bug 969316 - Use description column instead of url in PanelListRow (r=margaret)

This commit is contained in:
Lucas Rocha 2014-02-07 17:06:47 +00:00
parent 6e479f019b
commit c91a2fadc5

View File

@ -43,9 +43,9 @@ public class PanelListRow extends TwoLineRow {
final String title = cursor.getString(titleIndex);
setTitle(title);
int urlIndex = cursor.getColumnIndexOrThrow(HomeItems.URL);
final String url = cursor.getString(urlIndex);
setDescription(url);
int descriptionIndex = cursor.getColumnIndexOrThrow(HomeItems.DESCRIPTION);
final String description = cursor.getString(descriptionIndex);
setDescription(description);
int imageIndex = cursor.getColumnIndexOrThrow(HomeItems.IMAGE_URL);
final String imageUrl = cursor.getString(imageIndex);