Fix: Don't crash if an app has no categories
This commit is contained in:
parent
5b4c40fe07
commit
c0fad0fe26
@ -468,8 +468,10 @@ public class AppDetails extends ListActivity {
|
|||||||
tv = (TextView) findViewById(R.id.license);
|
tv = (TextView) findViewById(R.id.license);
|
||||||
tv.setText(app.license);
|
tv.setText(app.license);
|
||||||
|
|
||||||
tv = (TextView) findViewById(R.id.categories);
|
if (app.categories != null) {
|
||||||
tv.setText(app.categories.toString().replaceAll(",",", "));
|
tv = (TextView) findViewById(R.id.categories);
|
||||||
|
tv.setText(app.categories.toString().replaceAll(",",", "));
|
||||||
|
}
|
||||||
|
|
||||||
tv = (TextView) infoView.findViewById(R.id.description);
|
tv = (TextView) infoView.findViewById(R.id.description);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user