3530: Provide a help text on the empty conversations view (#3531)

Fixes #3530
This commit is contained in:
Levi Bard 2023-09-05 09:34:50 +02:00 committed by GitHub
commit 5f0f4b82b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 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) {