About menu: Added tor version and small wording fixes

This commit is contained in:
FlyingP1g FlyingP1g
2022-07-12 22:26:58 +03:00
parent 8ea7204cf6
commit c13c2d62f5
4 changed files with 18 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ public class AboutFragment extends Fragment {
private static final Logger LOG = getLogger(TAG);
private TextView briarVersion;
private TextView torVersion;
private TextView briarWebsite;
private TextView briarSourceCode;
private TextView briarChangelog;
@@ -54,6 +55,9 @@ public class AboutFragment extends Fragment {
briarVersion = requireActivity().findViewById(R.id.BriarVersion);
briarVersion.setText(
getString(R.string.briar_version, BuildConfig.VERSION_NAME));
torVersion = requireActivity().findViewById(R.id.TorVersion);
torVersion.setText(
getString(R.string.tor_version, BuildConfig.TorVersion));
briarWebsite = requireActivity().findViewById(R.id.BriarWebsite);
briarSourceCode = requireActivity().findViewById(R.id.BriarSourceCode);
briarChangelog = requireActivity().findViewById(R.id.BriarChangelog);