Fix check for unknown added date

This commit is contained in:
Ciaran Gultnieks 2012-09-18 18:05:52 +01:00
parent 69c12d366a
commit 111ac731dc

View File

@ -129,7 +129,7 @@ public class AppDetails extends ListActivity {
buildtype.setText("bin"); buildtype.setText("bin");
} }
TextView added = (TextView) v.findViewById(R.id.added); TextView added = (TextView) v.findViewById(R.id.added);
if (apk.added != null && !apk.added.equals("")) { if (apk.added != null && apk.added != null) {
added.setVisibility(View.VISIBLE); added.setVisibility(View.VISIBLE);
added.setText(df.format(apk.added)); added.setText(df.format(apk.added));
} else { } else {