Skip to content

Commit c331752

Browse files
fix(mobile): fingerprint project-script role flags in git menu
runOnWorktreeCreate / runOnSettle change the retained terminal menu label via projectScriptMenuLabel; include them in the content key so the AppBar remounts. Co-authored-by: Cursor <[email protected]>
1 parent 3c7d596 commit c331752

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/mobile/src/features/threads/ThreadGitControls.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function threadGitControlsContentKey(props: ThreadGitControlsMenuKeyInput
158158
props.projectScripts
159159
.map(
160160
(script) =>
161-
`${script.id}\t${script.name}\t${script.command}\t${script.icon}\t${script.stopOnSettle ? "1" : "0"}`,
161+
`${script.id}\t${script.name}\t${script.command}\t${script.icon}\t${script.stopOnSettle ? "1" : "0"}\t${script.runOnWorktreeCreate ? "1" : "0"}\t${script.runOnSettle ? "1" : "0"}`,
162162
)
163163
.join("\0"),
164164
props.terminalSessions

0 commit comments

Comments
 (0)