diff --git a/src/components/status.jsx b/src/components/status.jsx index bc26d5fc..dc24b308 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -228,7 +228,12 @@ function Status({ inReplyToAccountId === currentAccount || mentions?.find((mention) => mention.id === currentAccount); - const showSpoiler = previewMode || !!snapStates.spoilers[id] || false; + const readingExpandSpoilers = useMemo(() => { + const prefs = store.account.get('preferences') || {}; + return !!prefs['reading:expand:spoilers']; + }, []); + const showSpoiler = + previewMode || readingExpandSpoilers || !!snapStates.spoilers[id] || false; if (reblog) { // If has statusID, means useItemID (cached in states) @@ -1128,6 +1133,7 @@ function Status({ )}