From 0e2b550a4bf3ea3b1794a40b4e2b2867bc4c6971 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 28 Mar 2025 18:17:01 +0800 Subject: [PATCH] feat(mobile): social view translation separator --- .../entry-list/templates/EntryTranslation.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/modules/entry-list/templates/EntryTranslation.tsx b/apps/mobile/src/modules/entry-list/templates/EntryTranslation.tsx index cd961f4be..77b0c103a 100644 --- a/apps/mobile/src/modules/entry-list/templates/EntryTranslation.tsx +++ b/apps/mobile/src/modules/entry-list/templates/EntryTranslation.tsx @@ -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 ( {nextTarget && ( - - {nextTarget} - + <> + + {nextTarget} + + + ⇋ + + )} {nextSource}