mirror of
https://github.com/accelforce/Yuito
synced 2024-12-22 13:24:46 +01:00
3530: Hide help text if the message view is reconfigured (ie an error occurred).
This commit is contained in:
parent
0d1340781b
commit
7347ab96dd
@ -61,6 +61,7 @@ class BackgroundMessageView @JvmOverloads constructor(
|
|||||||
binding.imageView.setImageResource(imageRes)
|
binding.imageView.setImageResource(imageRes)
|
||||||
binding.button.setOnClickListener(clickListener)
|
binding.button.setOnClickListener(clickListener)
|
||||||
binding.button.visible(clickListener != null)
|
binding.button.visible(clickListener != null)
|
||||||
|
binding.helpText.visible(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun showHelp(@StringRes helpRes: Int) {
|
fun showHelp(@StringRes helpRes: Int) {
|
||||||
|
Loading…
Reference in New Issue
Block a user