1
0
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:
Lakoja 2023-04-18 11:25:17 +02:00
parent 0d1340781b
commit 7347ab96dd

View File

@ -61,6 +61,7 @@ class BackgroundMessageView @JvmOverloads constructor(
binding.imageView.setImageResource(imageRes)
binding.button.setOnClickListener(clickListener)
binding.button.visible(clickListener != null)
binding.helpText.visible(false)
}
fun showHelp(@StringRes helpRes: Int) {