mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 20:09:27 +03:00
Add git commit sha to the version details (splash screen and preference screen)
This commit is contained in:
parent
cccfad03ce
commit
8795ddb3c2
4 changed files with 5 additions and 3 deletions
|
@ -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 a new issue