mirror of
https://github.com/tooot-app/app
synced 2025-04-21 13:47:22 +02:00
commit
11645c6419
@ -237,7 +237,7 @@ const ParseHTML = React.memo(
|
|||||||
|
|
||||||
const onTextLayout = useCallback(({ nativeEvent }) => {
|
const onTextLayout = useCallback(({ nativeEvent }) => {
|
||||||
if (
|
if (
|
||||||
numberOfLines === 0 ||
|
numberOfLines === 1 ||
|
||||||
nativeEvent.lines.length >= numberOfLines + 5
|
nativeEvent.lines.length >= numberOfLines + 5
|
||||||
) {
|
) {
|
||||||
setExpandAllow(true)
|
setExpandAllow(true)
|
||||||
|
@ -39,7 +39,7 @@ const TimelineContent = React.memo(
|
|||||||
emojis={status.emojis}
|
emojis={status.emojis}
|
||||||
mentions={status.mentions}
|
mentions={status.mentions}
|
||||||
tags={status.tags}
|
tags={status.tags}
|
||||||
numberOfLines={0}
|
numberOfLines={1}
|
||||||
expandHint={t('shared.content.expandHint')}
|
expandHint={t('shared.content.expandHint')}
|
||||||
disableDetails={disableDetails}
|
disableDetails={disableDetails}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user