Skip to content

Commit a61cdb5

Browse files
authored
fix(mobile): keep side chats readable over the conversation (#32240)
1 parent 36d0dcb commit a61cdb5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/ThreadSideChatsRow.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { EnvironmentId, ThreadId } from "@t3tools/contracts";
2-
import { Pressable, ScrollView, View } from "react-native";
2+
import { Platform, Pressable, ScrollView, View } from "react-native";
33

44
import { AppText as Text } from "../../components/ui/AppText";
55
import { SymbolView } from "../../components/ui/AppSymbol";
@@ -19,7 +19,12 @@ export function ThreadSideChatsRow(props: {
1919
const openLinkedThread = useOpenLinkedThread();
2020
if (sideChats.length === 0) return null;
2121
return (
22-
<View className="flex-row items-center gap-2 pb-2 pl-4">
22+
<View
23+
className={cn(
24+
"flex-row items-center gap-2 py-2 pl-4",
25+
Platform.OS === "android" ? "bg-thread-canvas" : "bg-screen",
26+
)}
27+
>
2328
<SymbolView
2429
name="bubble.left.and.bubble.right"
2530
size={12}

0 commit comments

Comments
 (0)