mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Update HTML.tsx
This commit is contained in:
@ -297,7 +297,7 @@ const ParseHTML: React.FC<Props> = ({
|
||||
<Text
|
||||
children={document.children.map(renderNode)}
|
||||
onTextLayout={({ nativeEvent }) => {
|
||||
if (numberOfLines === 1 || nativeEvent.lines.length >= numberOfLines + 5) {
|
||||
if (numberOfLines === 1 || nativeEvent.lines.length >= numberOfLines + 8) {
|
||||
setTotalLines(nativeEvent.lines.length)
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user