Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions apps/mobile/app/(authenticated)/(home)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ export default function HomeLayout() {
sheetGrabberVisible: true,
}}
/>
<Stack.Screen
name="attachments"
options={{
presentation: "formSheet",
headerShown: false,
// Single detent: multi-detent resizes corrupt expo-image frames.
// Content (incl. the screenshots grid) is sized to fit 0.5.
sheetAllowedDetents: [0.5],
sheetGrabberVisible: true,
}}
/>
</Stack>
);
}
3 changes: 0 additions & 3 deletions apps/mobile/app/(authenticated)/(home)/attachments/index.tsx

This file was deleted.

This file was deleted.

13 changes: 13 additions & 0 deletions apps/mobile/app/(authenticated)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ export default function AuthenticatedLayout() {
back-button long-press menus (otherwise raw route names leak,
e.g. "(home)"). */}
<Stack.Screen name="(home)" options={{ title: "Home" }} />
{/* Sits above the home and workspace stacks alike — both composers
open the same sheet into the shared PromptInputProvider tray. */}
<Stack.Screen
name="attachments"
options={{
presentation: "formSheet",
headerShown: false,
// Single detent: multi-detent resizes corrupt expo-image frames.
// Content (incl. the screenshots grid) is sized to fit 0.5.
sheetAllowedDetents: [0.5],
sheetGrabberVisible: true,
}}
/>
<Stack.Screen
name="settings/index"
options={settingsScreenOptions("Settings")}
Expand Down
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/attachments/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { AttachmentsScreen } from "@/screens/(authenticated)/attachments";

export default AttachmentsScreen;
3 changes: 3 additions & 0 deletions apps/mobile/app/(authenticated)/attachments/screenshots.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { ScreenshotsScreen } from "@/screens/(authenticated)/attachments/screenshots";

export default ScreenshotsScreen;
Loading
Loading