From afaf61f652336077e83ed94d55695ca6cf782512 Mon Sep 17 00:00:00 2001 From: sonora Date: Sat, 31 Oct 2015 15:35:53 +0100 Subject: [PATCH] add complete version as we had it --- .../helpscreen/HelpScreenDialogFragment.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/helpscreen/HelpScreenDialogFragment.java b/OsmAnd/src/net/osmand/plus/dialogs/helpscreen/HelpScreenDialogFragment.java index 11fcf51d28..3d652e1109 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/helpscreen/HelpScreenDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/helpscreen/HelpScreenDialogFragment.java @@ -343,10 +343,19 @@ public class HelpScreenDialogFragment extends DialogFragment implements Expandab arrayList.add(new MyMenuItem(R.string.instalation_troubleshooting_item)); arrayList.add(new MyMenuItem(R.string.techical_articles_item)); arrayList.add(new MyMenuItem(R.string.versions_item)); - String version = Version.getBuildAppEdition(getOsmandApplication()); - if (TextUtils.isEmpty(version)) { - version = Version.getAppVersion(getOsmandApplication()); + + //String version = Version.getBuildAppEdition(getOsmandApplication()); + //if (TextUtils.isEmpty(version)) { + // version = Version.getAppVersion(getOsmandApplication()); + //} + + String edition = ""; + if (!this.getString(R.string.app_edition).equals("")) { + edition = R.getString(R.string.shared_string_release) + " : \t" + this.getString(R.string.app_edition); } + String version = Version.getFullVersion(getOsmandApplication()) + "\n" + edition +// + "\n\n" + R.getString(R.string.about_content); + MyMenuItem.Builder builder = new MyMenuItem.Builder() .setTitle(R.string.shared_string_about) .setDescription(version);