Skip to content

Commit 42d0530

Browse files
committed
fix(mobile): simplify and center the last-project preference
1 parent 26d60ea commit 42d0530

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎apps/mobile/src/components/ui/ListToggleRow.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export function ListToggleRow(
3535
accessibilityHint={props.description}
3636
disabled={props.disabled}
3737
onValueChange={props.onValueChange}
38+
style={{ alignSelf: "center" }}
3839
value={props.value}
3940
/>
4041
)

‎apps/mobile/src/features/settings/SettingsThreadsRouteScreen.tsx‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,11 @@ function NewThreadSettingsSection() {
6262
const ready = AsyncResult.isSuccess(preferences) && !preferences.waiting;
6363

6464
return (
65-
<SettingsSection
66-
title="New threads"
67-
footer="Start in the last project you used on this device. When off, choose a project each time."
68-
>
65+
<SettingsSection title="New threads">
6966
<SettingsSwitchRow
7067
icon="square.and.pencil"
71-
label="Use last project for new threads"
68+
label="Use last project"
69+
subtitle="Start in the last project you used on this device."
7270
value={
7371
AsyncResult.isSuccess(preferences) &&
7472
preferences.value.useLastProjectForNewThreads === true

‎docs/user/thread-sidebar.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Its branch and workspace mode come from your configured defaults. To continue in
1111
an existing worktree, use **New thread in this worktree** from the branch toolbar.
1212

1313
On mobile, new threads open the project picker. Turn on **Settings → Thread behavior →
14-
Use last project for new threads** to reuse the last project you opened or chose on that device,
14+
Use last project** to reuse the last project you opened or chose on that device,
1515
including after restarting the app. Project-specific actions always use the project you chose.
1616

1717
When you change a new thread's project, T3 Code stays in the current environment

0 commit comments

Comments
 (0)