Skip to content

Commit

Permalink
version name in about page
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzoPrimi committed Sep 27, 2017
1 parent a02c2b7 commit 238c8d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.openobservatory.ooniprobe.BuildConfig;
import org.openobservatory.ooniprobe.R;
import org.openobservatory.ooniprobe.activity.MainActivity;
import org.openobservatory.ooniprobe.utils.VersionUtils;

public class AboutFragment extends Fragment {
private MainActivity mActivity;
Expand Down Expand Up @@ -69,7 +70,7 @@ public void onClick(View v) {
}
});
TextView version_text = (TextView) v.findViewById(R.id.ooniprobe_version);
version_text.setText("ooniprobe: " + BuildConfig.VERSION_NAME + "\n" + "measurement-kit: " + Version.getVersion());
version_text.setText("ooniprobe: " + VersionUtils.get_software_version() + "\n" + "measurement-kit: " + Version.getVersion());
return v;
}
}

0 comments on commit 238c8d9

Please sign in to comment.