Merge pull request #103 from tooot-app/main

Fix again CW
This commit is contained in:
xmflsct 2021-04-15 09:31:44 +02:00 committed by GitHub
commit 11645c6419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)

View File

@ -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}
/>