From 7347ab96ddb4b9df7878fcaae7e6fd114a2f01be Mon Sep 17 00:00:00 2001 From: Lakoja Date: Tue, 18 Apr 2023 11:25:17 +0200 Subject: [PATCH] 3530: Hide help text if the message view is reconfigured (ie an error occurred). --- .../java/com/keylesspalace/tusky/view/BackgroundMessageView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/view/BackgroundMessageView.kt b/app/src/main/java/com/keylesspalace/tusky/view/BackgroundMessageView.kt index e24d79413..c33533628 100644 --- a/app/src/main/java/com/keylesspalace/tusky/view/BackgroundMessageView.kt +++ b/app/src/main/java/com/keylesspalace/tusky/view/BackgroundMessageView.kt @@ -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) {