Remove APK count from AppDetails

Rationale:
1) The string is competing for space with the license field.
2) It would need separate singular/plural versions to be correct.
3) It's unnecessary when the list of APKs is shown directly below.
This commit is contained in:
Henrik Tunedal 2011-03-22 17:20:41 +01:00
parent 030075925a
commit 89dd64a210
2 changed files with 2 additions and 4 deletions

View File

@ -104,7 +104,7 @@
<string name="menu_donate">Donate</string>
<string name="details_installed">Version %s installed</string>
<string name="details_notinstalled">Not installed (%d available)</string>
<string name="details_notinstalled">Not installed</string>
<string name="inst">Installed</string>
<string name="corrupt_download">Downloaded file is corrupt</string>
<string name="download_cancelled">Download cancelled</string>

View File

@ -308,10 +308,8 @@ public class AppDetails extends ListActivity {
tv = (TextView) findViewById(R.id.license);
tv.setText(app.license);
tv = (TextView) findViewById(R.id.status);
int vnum = app.apks.size();
if (app.installedVersion == null)
tv.setText(String.format(getString(R.string.details_notinstalled),
vnum));
tv.setText(getString(R.string.details_notinstalled));
else
tv.setText(String.format(getString(R.string.details_installed),
app.installedVersion));