Add git commit sha to the version details (splash screen and preference screen)
This commit is contained in:
parent
cccfad03ce
commit
8795ddb3c2
|
@ -65,7 +65,7 @@ class LoginSplashFragment :
|
|||
views.loginSplashVersion.isVisible = true
|
||||
@SuppressLint("SetTextI18n")
|
||||
views.loginSplashVersion.text = "Version : ${buildMeta.versionName}\n" +
|
||||
"Branch: ${buildMeta.gitBranchName}"
|
||||
"Branch: ${buildMeta.gitBranchName} ${buildMeta.gitRevision}"
|
||||
views.loginSplashVersion.debouncedClicks { navigator.openDebug(requireContext()) }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ class FtueAuthSplashCarouselFragment :
|
|||
views.loginSplashVersion.isVisible = true
|
||||
@SuppressLint("SetTextI18n")
|
||||
views.loginSplashVersion.text = "Version : ${buildMeta.versionName}\n" +
|
||||
"Branch: ${buildMeta.gitBranchName}"
|
||||
"Branch: ${buildMeta.gitBranchName} ${buildMeta.gitRevision}"
|
||||
views.loginSplashVersion.debouncedClicks { navigator.openDebug(requireContext()) }
|
||||
}
|
||||
views.splashCarousel.registerAutomaticUntilInteractionTransitions()
|
||||
|
|
|
@ -67,7 +67,7 @@ class FtueAuthSplashFragment :
|
|||
views.loginSplashVersion.isVisible = true
|
||||
@SuppressLint("SetTextI18n")
|
||||
views.loginSplashVersion.text = "Version : ${buildMeta.versionName}\n" +
|
||||
"Branch: ${buildMeta.gitBranchName}"
|
||||
"Branch: ${buildMeta.gitBranchName} ${buildMeta.gitRevision}"
|
||||
views.loginSplashVersion.debouncedClicks { navigator.openDebug(requireContext()) }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,6 +73,8 @@ class VectorSettingsHelpAboutFragment :
|
|||
if (buildMeta.isDebug) {
|
||||
append(" ")
|
||||
append(buildMeta.gitBranchName)
|
||||
append(" ")
|
||||
append(buildMeta.gitRevision)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue