mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Updates
This commit is contained in:
@ -74,7 +74,7 @@ const TimelineNotifications: React.FC<Props> = ({
|
||||
{notification.status.media_attachments.length > 0 && (
|
||||
<TimelineAttachment
|
||||
status={notification.status}
|
||||
width={contentWidth}
|
||||
contentWidth={contentWidth}
|
||||
/>
|
||||
)}
|
||||
{notification.status.card && (
|
||||
|
@ -4,6 +4,7 @@ import ParseContent from '@components/ParseContent'
|
||||
import { useTheme } from '@utils/styles/ThemeManager'
|
||||
import { StyleConstants } from '@utils/styles/constants'
|
||||
import { LinearGradient } from 'expo-linear-gradient'
|
||||
import layoutAnimation from '@root/utils/styles/layoutAnimation'
|
||||
|
||||
export interface Props {
|
||||
status: Mastodon.Status
|
||||
@ -16,7 +17,7 @@ const TimelineContent: React.FC<Props> = ({
|
||||
numberOfLines,
|
||||
highlighted = false
|
||||
}) => {
|
||||
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut)
|
||||
layoutAnimation()
|
||||
const { theme } = useTheme()
|
||||
const [spoilerCollapsed, setSpoilerCollapsed] = useState(false)
|
||||
const lineHeight = 28
|
||||
|
Reference in New Issue
Block a user