diff --git a/apps/mobile/src/app/new/_layout.tsx b/apps/mobile/src/app/new/_layout.tsx
index 3848a1a0ca..78720ac686 100644
--- a/apps/mobile/src/app/new/_layout.tsx
+++ b/apps/mobile/src/app/new/_layout.tsx
@@ -1,10 +1,7 @@
-import { useRouter } from "expo-router";
import Stack from "expo-router/stack";
-import { SymbolView } from "expo-symbols";
-import { Pressable } from "react-native";
+import { Platform } from "react-native";
import { useResolveClassNames } from "uniwind";
-import { useAdaptiveWorkspaceLayout } from "../../features/layout/AdaptiveWorkspaceLayout";
import { NewTaskFlowProvider } from "../../features/threads/new-task-flow-provider";
import { useThemeColor } from "../../lib/useThemeColor";
@@ -12,25 +9,7 @@ export const unstable_settings = {
anchor: "index",
};
-function NewTaskCloseButton() {
- const router = useRouter();
- const tintColor = useThemeColor("--color-foreground");
-
- return (
- router.dismiss()}
- >
-
-
- );
-}
-
export default function NewTaskLayout() {
- const { layout } = useAdaptiveWorkspaceLayout();
const sheetStyle = useResolveClassNames("bg-sheet");
const sheetBg = useThemeColor("--color-sheet");
const headerTint = useThemeColor("--color-foreground");
@@ -46,7 +25,7 @@ export default function NewTaskLayout() {
headerStyle: { backgroundColor: sheetBg },
headerTintColor: headerTint,
headerTitleStyle: { fontFamily: "DMSans_700Bold" },
- headerRight: layout.usesSplitView ? NewTaskCloseButton : undefined,
+ unstable_navigationItemStyle: Platform.OS === "ios" ? "editor" : undefined,
}}
>