Compare commits

...

1 Commits

Author SHA1 Message Date
Eric Bailey 4942562c3a Increase strength of check for post stats guard 2024-11-13 14:50:39 -06:00
+3 -3
View File
@@ -382,9 +382,9 @@ let PostThreadItemLoaded = ({
translatorUrl={translatorUrl}
needsTranslation={needsTranslation}
/>
{post.repostCount !== 0 ||
post.likeCount !== 0 ||
post.quoteCount !== 0 ? (
{(typeof post.repostCount === 'number' && post.repostCount !== 0) ||
(typeof post.likeCount === 'number' && post.likeCount !== 0) ||
(typeof post.quoteCount === 'number' && post.quoteCount !== 0) ? (
// Show this section unless we're *sure* it has no engagement.
<View
style={[