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
1 changed files with 1 additions and 0 deletions

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) {