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(
|
const needsTranslation = useMemo(
|
||||||
() =>
|
() =>
|
||||||
store.preferences.contentLanguages.length > 0 &&
|
Boolean(
|
||||||
!isPostInLanguage(item.post, store.preferences.contentLanguages),
|
store.preferences.primaryLanguage &&
|
||||||
[item.post, store.preferences.contentLanguages],
|
!isPostInLanguage(item.post, [store.preferences.primaryLanguage]),
|
||||||
|
),
|
||||||
|
[item.post, store.preferences.primaryLanguage],
|
||||||
)
|
)
|
||||||
|
|
||||||
const onPressReply = React.useCallback(() => {
|
const onPressReply = React.useCallback(() => {
|
||||||
|
|
Loading…
Reference in New Issue