mirror of https://github.com/tooot-app/app
Fix CW
This commit is contained in:
parent
d4b28df091
commit
933324a2d8
|
@ -236,7 +236,10 @@ const ParseHTML = React.memo(
|
|||
const [expanded, setExpanded] = useState(false)
|
||||
|
||||
const onTextLayout = useCallback(({ nativeEvent }) => {
|
||||
if (nativeEvent.lines.length >= numberOfLines + 5) {
|
||||
if (
|
||||
numberOfLines === 0 ||
|
||||
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={1}
|
||||
numberOfLines={0}
|
||||
expandHint={t('shared.content.expandHint')}
|
||||
disableDetails={disableDetails}
|
||||
/>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
"poll": {
|
||||
"option": {
|
||||
"placeholder": {
|
||||
"accessibilityLabel": "Field number {{index}}",
|
||||
"accessibilityLabel": "Poll option {{index}}",
|
||||
"single": "Single choice",
|
||||
"multiple": "Multiple choice"
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
"account": {
|
||||
"actions": {
|
||||
"accessibilityLabel": "Actions for user {{user}}",
|
||||
"accessibilityHint": "You can mute, blokc, report or share this user"
|
||||
"accessibilityHint": "You can mute, block, report or share this user"
|
||||
},
|
||||
"moved": "User moved",
|
||||
"created_at": "Registered on: {{date}}",
|
||||
|
|
Loading…
Reference in New Issue