feat(mobile): social view translation separator

This commit is contained in:
DIYgod
2025-03-28 18:17:01 +08:00
parent 614fc7356a
commit 0e2b550a4b
@@ -1,3 +1,4 @@
import { cn } from "@follow/utils"
import { useMemo } from "react"
import type { TextProps } from "react-native"
import { Text, View } from "react-native"
@@ -47,9 +48,14 @@ export const EntryTranslation = ({
return (
<View>
{nextTarget && (
<Text {...props} className={className}>
{nextTarget}
</Text>
<>
<Text {...props} className={className}>
{nextTarget}
</Text>
<Text {...props} className={cn(className, "my-4")}>
⇋
</Text>
</>
)}
<Text {...props} className={className}>
{nextSource}