The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 15:30 UTC
fix(mobile): keep Android project paths on one line (#14178)
wellorbetter committed
Oct 10, 2026 at 23:02 UTC
5047ee78858bfdeb254c7386e2d427d3bccb8430
2 files changed
+11
-1
apps/mobile/src/components/MaterialListRow.tsx
+9
-1
@@ -12,6 +12,8 @@ export function MaterialListRow({
12
title,
13
titleClassName,
14
subtitle,
15
+ subtitleNumberOfLines,
16
+ subtitleEllipsizeMode,
17
leading,
18
trailing,
19
className,
@@ -20,6 +22,8 @@ export function MaterialListRow({
22
readonly title: string;
23
readonly titleClassName?: string;
24
readonly subtitle?: string | null;
25
+ readonly subtitleNumberOfLines?: ComponentProps<typeof AppText>["numberOfLines"];
26
+ readonly subtitleEllipsizeMode?: ComponentProps<typeof AppText>["ellipsizeMode"];
27
readonly leading?: ReactNode;
28
readonly trailing?: ReactNode;
29
}) {
@@ -46,7 +50,11 @@ export function MaterialListRow({
50
{title}
51
</AppText>
52
{subtitle ? (
49
- <AppText className="text-sm text-foreground-muted" numberOfLines={2}>
53
+ <AppText
54
+ className="text-sm text-foreground-muted"
55
+ ellipsizeMode={subtitleEllipsizeMode}
56
+ numberOfLines={subtitleNumberOfLines ?? 2}
57
+ >
58
{subtitle}
59
</AppText>
60
) : null}
apps/mobile/src/features/threads/NewTaskRouteScreen.tsx
+2
@@ -463,6 +463,8 @@ export function NewTaskRouteScreen({ route }: StaticScreenProps<NewTaskRoutePara
463
? `${scope.projects.length} workspaces`
464
: selectionTarget.workspaceRoot
465
}
466
+ subtitleNumberOfLines={1}
467
+ subtitleEllipsizeMode="middle"
468
disabled={reservedDestinationProject !== null}
469
onPress={() => void selectProject(selectionTarget)}
470
leading={