From 6ac930c2419528769ddd997dbe00afee0fbfaafe Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 31 Dec 2024 16:20:53 -0500 Subject: [PATCH] Don't show the "message the user" button when the problem is local --- .../java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt index ccad6e16b..ba806d749 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapCustomDialog.kt @@ -366,7 +366,7 @@ fun PayViaIntentDialog( PayButton(isActive = !paid.value) { payViaIntent(payable.invoice, context, { paid.value = true }) { - justShowError(UserBasedErrorMessage(it, payable.user)) + justShowError(UserBasedErrorMessage(it, null)) } } }