Permalink
Browse files

replaced method setSubTitle() (deprecated) with setSubtitle()

  • Loading branch information...
1 parent 34bf8bc commit 2b8b253e71fc32a4268e563f72f2573f94692e83 @aparusel aparusel committed with thron7 Mar 22, 2012
@@ -70,7 +70,7 @@ qx.Class.define("mobiletweets.page.Tweets",
configureItem : function(item, value, row) {
// set the data of the model
item.setTitle(value.getText());
- item.setSubTitle(value.getUser().getName() + ", " + dateFormat.format(new Date(value.getCreated_at())));
+ item.setSubtitle(value.getUser().getName() + ", " + dateFormat.format(new Date(value.getCreated_at())));
item.setImage(value.getUser().getProfile_image_url());
// we have more data to display, show an arrow
item.setShowArrow(true);
@@ -405,7 +405,7 @@ method to the members section of the “Tweets” page.
// set the data of the model
item.setTitle(value.getText());
// we use the dataFormat instance to format the data value of the twitter API
- item.setSubTitle(value.getUser().getName() + ", " + dateFormat.format(new Date(value.getCreated_at())));
+ item.setSubtitle(value.getUser().getName() + ", " + dateFormat.format(new Date(value.getCreated_at())));
item.setImage(value.getUser().getProfile_image_url());
// we have more data to display, show an arrow
item.setShowArrow(true);

0 comments on commit 2b8b253

Please sign in to comment.