Merge pull request #1513 from bluesky-social/eric/app-855-update-language-settings-in-app
update translator link show logiczio/stable
commit
1b3b4c6692
|
@ -81,9 +81,11 @@ export const PostThreadItem = observer(function PostThreadItem({
|
|||
)
|
||||
const needsTranslation = useMemo(
|
||||
() =>
|
||||
store.preferences.contentLanguages.length > 0 &&
|
||||
!isPostInLanguage(item.post, store.preferences.contentLanguages),
|
||||
[item.post, store.preferences.contentLanguages],
|
||||
Boolean(
|
||||
store.preferences.primaryLanguage &&
|
||||
!isPostInLanguage(item.post, [store.preferences.primaryLanguage]),
|
||||
),
|
||||
[item.post, store.preferences.primaryLanguage],
|
||||
)
|
||||
|
||||
const onPressReply = React.useCallback(() => {
|
||||
|
|
Loading…
Reference in New Issue