mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-25 23:05:44 +01:00
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:
parent
91636deaaf
commit
b24a111136
@ -77,7 +77,7 @@ class AboutFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
binding.textVersionName.text = BuildConfig.VERSION_NAME
|
binding.textVersionName.text = BuildConfig.VERSION_NAME
|
||||||
binding.textVersionName.setOnClickListener {
|
binding.buttonVersionName.setOnClickListener {
|
||||||
val clipBoard =
|
val clipBoard =
|
||||||
requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||||
val clip = ClipData.newPlainText(getString(R.string.build), BuildConfig.GIT_HASH)
|
val clip = ClipData.newPlainText(getString(R.string.build), BuildConfig.GIT_HASH)
|
||||||
|
Loading…
Reference in New Issue
Block a user