From 30fa06feac15609fe99657e02d171e024e825322 Mon Sep 17 00:00:00 2001
From: sergio <33748103+colado@users.noreply.github.com>
Date: Mon, 29 Dec 2025 23:45:36 +0200
Subject: feat(mobile): create new list edit screen (#2310)

* feat(mobile): create new edit screen and path

* refactor(mobile): use correct import for back navigation

* refactor(mobile): remove set state for list type

* feat(mobile): handle loading state

* feat(mobile): add error handling

* feat(mobile): add local validation for empty list name

* refactor(mobile): use correct param name in edit path

* feat(mobile): handle all pending state cases

* refactor(mobile): remove unnecessary return

* refactor(mobile): move type validation to top of the file

* refactor(mobile): revert validation order

* refactor(mobile): clean up submit values

* fix(mobile): fix button views
---
 apps/mobile/app/dashboard/_layout.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'apps/mobile/app/dashboard/_layout.tsx')

diff --git a/apps/mobile/app/dashboard/_layout.tsx b/apps/mobile/app/dashboard/_layout.tsx
index 260071f0..60fbc4fc 100644
--- a/apps/mobile/app/dashboard/_layout.tsx
+++ b/apps/mobile/app/dashboard/_layout.tsx
@@ -109,6 +109,15 @@ export default function Dashboard() {
           presentation: "modal",
         }}
       />
+      <Stack.Screen
+        name="lists/[slug]/edit"
+        options={{
+          headerTitle: "Edit List",
+          headerBackTitle: "Back",
+          headerTransparent: true,
+          presentation: "modal",
+        }}
+      />
       <Stack.Screen
         name="archive"
         options={{
-- 
cgit v1.2.3-70-g09d2

