diff --git a/app/screens/custom_status/custom_status_suggestion.tsx b/app/screens/custom_status/custom_status_suggestion.tsx index a10d213f8..1fcafb8fe 100644 --- a/app/screens/custom_status/custom_status_suggestion.tsx +++ b/app/screens/custom_status/custom_status_suggestion.tsx @@ -40,6 +40,10 @@ const CustomStatusSuggestion = ({handleSuggestionClick, emoji, text, theme, sepa } }, []); + const showCustomStatus = Boolean(duration && + duration !== CustomStatusDuration.DATE_AND_TIME && + isExpirySupported); + const clearButton = handleClear && expires_at ? ( @@ -74,7 +78,7 @@ const CustomStatusSuggestion = ({handleSuggestionClick, emoji, text, theme, sepa textStyle={style.customStatusText} /> - {Boolean(duration && isExpirySupported) && ( + {showCustomStatus && (