mirror of
https://github.com/tooot-app/app
synced 2025-02-03 11:57:46 +01:00
Fix again CW
This commit is contained in:
parent
15f2cdc54f
commit
5264c17d99
@ -237,7 +237,7 @@ const ParseHTML = React.memo(
|
||||
|
||||
const onTextLayout = useCallback(({ nativeEvent }) => {
|
||||
if (
|
||||
numberOfLines === 0 ||
|
||||
numberOfLines === 1 ||
|
||||
nativeEvent.lines.length >= numberOfLines + 5
|
||||
) {
|
||||
setExpandAllow(true)
|
||||
|
@ -39,7 +39,7 @@ const TimelineContent = React.memo(
|
||||
emojis={status.emojis}
|
||||
mentions={status.mentions}
|
||||
tags={status.tags}
|
||||
numberOfLines={0}
|
||||
numberOfLines={1}
|
||||
expandHint={t('shared.content.expandHint')}
|
||||
disableDetails={disableDetails}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user