mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Suppress spoiler for easier reading
As spoiler is default expanded now in thread
This commit is contained in:
@ -346,8 +346,13 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
||||
<TimelineDefault
|
||||
item={item}
|
||||
queryKey={item._remote ? queryKey.remote : queryKey.local}
|
||||
highlighted={toot.id === item.id || item.id === 'cached'}
|
||||
isConversation={toot.id !== item.id && item.id !== 'cached'}
|
||||
highlighted={toot.id === item.id}
|
||||
suppressSpoiler={
|
||||
toot.id !== item.id &&
|
||||
!!toot.spoiler_text?.length &&
|
||||
toot.spoiler_text === item.spoiler_text
|
||||
}
|
||||
isConversation={toot.id !== item.id}
|
||||
noBackground
|
||||
/>
|
||||
{/* <CustomText
|
||||
|
Reference in New Issue
Block a user