Skip to content

Commit 5dc6c17

Browse files
Rename mobile navigation headers to Threads
- Remove the compact T3 Code brand title component - Use consistent “Threads” titles across mobile navigation
1 parent c52838d commit 5dc6c17

4 files changed

Lines changed: 3 additions & 70 deletions

File tree

‎apps/mobile/src/Stack.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { DynamicColorIOS, Platform, Pressable, ScrollView, StyleSheet } from "re
1515
import { useResolveClassNames } from "uniwind";
1616

1717
import { AppText as Text } from "./components/AppText";
18-
import { renderCompactBrandTitle } from "./components/CompactBrandTitle";
1918
import { ArchivedThreadsRouteScreen } from "./features/archive/ArchivedThreadsRouteScreen";
2019
import { useAgentNotificationNavigation } from "./features/agent-awareness/notificationNavigation";
2120
import { ClerkSettingsSheetDetentProvider } from "./features/cloud/ClerkSettingsSheetDetent";
@@ -378,8 +377,7 @@ export const RootStack = createNativeStackNavigator({
378377
...GLASS_HEADER_OPTIONS,
379378
contentStyle: { backgroundColor: "transparent" },
380379
headerBackVisible: false,
381-
headerTitle: renderCompactBrandTitle,
382-
title: "T3 Code",
380+
title: "Threads",
383381
},
384382
}),
385383
Thread: createNativeStackScreen({

‎apps/mobile/src/components/CompactBrandTitle.tsx‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎apps/mobile/src/features/home/HomeRouteScreen.tsx‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useNavigation } from "@react-navigation/native";
44
import { useMemo, useState } from "react";
55

66
import { NativeHeaderToolbar, NativeStackScreenOptions } from "../../native/StackHeader";
7-
import { renderCompactBrandTitle } from "../../components/CompactBrandTitle";
87
import { useProjects, useThreadShells } from "../../state/entities";
98
import { usePendingNewTasks } from "../../state/use-pending-new-tasks";
109
import { useWorkspaceState } from "../../state/workspace";
@@ -87,9 +86,7 @@ export function HomeRouteScreen() {
8786
>
8887
<>
8988
{/* Restore the compact title in case the split branch blanked it. */}
90-
<NativeStackScreenOptions
91-
options={{ title: "T3 Code", headerTitle: renderCompactBrandTitle }}
92-
/>
89+
<NativeStackScreenOptions options={{ title: "Threads", headerTitle: "Threads" }} />
9390
<HomeHeader
9491
environments={environments}
9592
searchQuery={searchQuery}

‎apps/mobile/src/features/threads/sidebar-navigation-shell.tsx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
import type { ReactNode } from "react";
1212
import { Platform, useColorScheme } from "react-native";
1313

14-
import { renderCompactBrandTitle } from "../../components/CompactBrandTitle";
1514
import { nativeHeaderScrollEdgeEffects } from "../../native/StackHeader";
1615

1716
const SCROLL_EDGE_EFFECTS = nativeHeaderScrollEdgeEffects(Platform.OS, Platform.Version);
@@ -35,11 +34,10 @@ const SIDEBAR_SCREEN_OPTIONS: SidebarScreenOptions = {
3534
headerShadowVisible: false,
3635
headerShown: true,
3736
headerStyle: { backgroundColor: "transparent" },
38-
headerTitle: renderCompactBrandTitle,
3937
headerTitleStyle: { fontSize: 18, fontWeight: "800" },
4038
headerTransparent: true,
4139
scrollEdgeEffects: SCROLL_EDGE_EFFECTS,
42-
title: "T3 Code",
40+
title: "Threads",
4341
unstable_navigationItemStyle: "editor",
4442
};
4543

0 commit comments

Comments
 (0)