1
0
Fork 0

Fixes #4562: Add a-c git hash to about page

master
Hakkı Kaan Çalışkan 2019-08-07 14:22:49 +03:00 committed by Jeff Boek
parent 0b98d43c23
commit 0ea595743d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class AboutFragment : Fragment() {
val aboutText = try {
val packageInfo = requireContext().packageManager.getPackageInfo(requireContext().packageName, 0)
val versionCode = PackageInfoCompat.getLongVersionCode(packageInfo).toString()
val componentsVersion = mozilla.components.Build.version
val componentsVersion = mozilla.components.Build.version + ", " + mozilla.components.Build.gitHash
val maybeGecko = if (SDK_INT >= Build.VERSION_CODES.N) GECKO_EMOJI else "GV"
val geckoVersion = GeckoViewBuildConfig.MOZ_APP_VERSION + "-" + GeckoViewBuildConfig.MOZ_APP_BUILDID