From a077dcbf3d35a3fc501a81334d875ba3e87f3ae0 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 2 Apr 2024 17:32:08 -0300 Subject: [PATCH] Fix crash on wrong disabled prop --- app/containers/message/Reply.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/message/Reply.tsx b/app/containers/message/Reply.tsx index 78029c591..948a6c681 100644 --- a/app/containers/message/Reply.tsx +++ b/app/containers/message/Reply.tsx @@ -243,7 +243,7 @@ const Reply = React.memo( } ]} background={Touchable.Ripple(themes[theme].bannerBackground)} - disabled={loading || attachment.message_link}> + disabled={loading || !!attachment.message_link}> <Description attachment={attachment} getCustomEmoji={getCustomEmoji} theme={theme} />