1
0
Fork 0
forked from suyu/suyu

android: Fix button click listener for build version name

Was set to the text instead of the parent view by mistake
This commit is contained in:
t895 2024-01-25 20:43:12 -05:00
parent 91636deaaf
commit b24a111136

View file

@ -77,7 +77,7 @@ class AboutFragment : Fragment() {
}
binding.textVersionName.text = BuildConfig.VERSION_NAME
binding.textVersionName.setOnClickListener {
binding.buttonVersionName.setOnClickListener {
val clipBoard =
requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
val clip = ClipData.newPlainText(getString(R.string.build), BuildConfig.GIT_HASH)