finally read APG version dynamicly, so the version name doesn't have to be changed anywhere but the manifest
This commit is contained in:
@@ -183,7 +183,7 @@ public class MainActivity extends BaseActivity {
|
||||
case Id.dialog.change_log: {
|
||||
AlertDialog.Builder alert = new AlertDialog.Builder(this);
|
||||
|
||||
alert.setTitle("Changes " + Apg.FULL_VERSION);
|
||||
alert.setTitle("Changes " + Apg.getFullVersion(this));
|
||||
LayoutInflater inflater =
|
||||
(LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
View layout = inflater.inflate(R.layout.info, null);
|
||||
|
||||
Reference in New Issue
Block a user