diff --git a/mobile/app/index.tsx b/mobile/app/index.tsx index 657bc141a7f..046e8ddb01a 100644 --- a/mobile/app/index.tsx +++ b/mobile/app/index.tsx @@ -525,38 +525,6 @@ export default function HomeScreen() { New Worktree - [ - styles.quickAction, - pressed && styles.hostCardPressed, - { borderColor: '#f97316', borderWidth: 1 } - ]} - onPress={async () => { - const connectedHost = sortedHosts.find((h) => hostStates[h.id] === 'connected') - if (!connectedHost) return - const entry = clientsRef.current.find((e) => e.hostId === connectedHost.id) - if (!entry) return - try { - const resp = await entry.client.sendRequest('worktree.create', { - repo: 'name:orca', - name: `dbg${Date.now() % 10000}`, - setupDecision: 'inherit' - }) - if (resp.ok) { - const wt = (resp as { result: { worktree: { id: string } } }).result - .worktree - router.push( - `/h/${connectedHost.id}/session/${encodeURIComponent(wt.id)}?name=debug&created=1` - ) - } - } catch {} - }} - > - - - - Debug Test - }