1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix again CW

This commit is contained in:
Zhiyuan Zheng
2021-04-13 22:36:04 +02:00
parent 15f2cdc54f
commit 5264c17d99
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ const ParseHTML = React.memo(
const onTextLayout = useCallback(({ nativeEvent }) => {
if (
numberOfLines === 0 ||
numberOfLines === 1 ||
nativeEvent.lines.length >= numberOfLines + 5
) {
setExpandAllow(true)