Add blog article from help

This commit is contained in:
Vitaliy 2020-10-13 11:03:55 +03:00
parent 3fb579d2da
commit 52d3fae7c7
2 changed files with 4 additions and 1 deletions

View file

@ -331,6 +331,9 @@ task collectHelpContentsAssets(type: Copy) {
from("../../help/website/feature_articles") { from("../../help/website/feature_articles") {
include "*.html" include "*.html"
} }
from("../../help/website/blog_articles") {
include "osmand-3-8-released.html"
}
into "assets/feature_articles" into "assets/feature_articles"
} }

View file

@ -173,7 +173,7 @@ public class HelpActivity extends OsmandActionBarActivity implements AdapterView
contextMenuAdapter.addItem(createItem(R.string.versions_item, NULL_ID, contextMenuAdapter.addItem(createItem(R.string.versions_item, NULL_ID,
"feature_articles/changes.html")); "feature_articles/changes.html"));
contextMenuAdapter.addItem(createItem(R.string.what_is_new, NULL_ID, contextMenuAdapter.addItem(createItem(R.string.what_is_new, NULL_ID,
"feature_articles/blog.html")); "feature_articles/osmand-3-8-released.html"));
String releasedate = ""; String releasedate = "";
if (!this.getString(R.string.app_edition).equals("")) { if (!this.getString(R.string.app_edition).equals("")) {