Correction to previous commit

This commit is contained in:
Ciaran Gultnieks 2010-11-14 22:31:10 +00:00
parent ab8feedea0
commit 48dca0e52c

View File

@ -99,7 +99,7 @@ public class AppDetails extends ListActivity {
DB.Apk apk = items.get(position);
TextView version = (TextView) v.findViewById(R.id.version);
boolean iscurrent = apk.vercode == app_currentvercode;
version.setText(R.string.version + " " + apk.version + (iscurrent ? "*" : ""));
version.setText(getString(R.string.version) + " " + apk.version + (iscurrent ? "*" : ""));
TextView status = (TextView) v.findViewById(R.id.status);
if (apk.version.equals(app.installedVersion))
status.setText(getString(R.string.inst));