Use generated version name from BuildConfig

This commit is contained in:
veyndan 2017-03-24 03:09:43 +00:00
parent 0d582100b3
commit 0e3bd3c74a
5 changed files with 7 additions and 16 deletions

View file

@ -30,7 +30,7 @@ public class AboutActivity extends BaseActivity {
ButterKnife.bind(this);
uploadsToText.setText(CommonsApplication.EVENTLOG_WIKI);
versionText.setText(CommonsApplication.APPLICATION_VERSION);
versionText.setText(BuildConfig.VERSION_NAME);
// We can't use formatted strings directly because it breaks with
// our localization tools. Grab an HTML string and turn it into