Keep one dismiss action in the Cupertino pane picker

This commit is contained in:
2026-11-06 22:16:08 +00:00
parent 778b368f03
commit a0992eb2e7
2 changed files with 3 additions and 0 deletions
@@ -171,6 +171,7 @@ class _AddChatPanePickerState extends State<_AddChatPanePicker> {
return widget.cupertino
? CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
automaticallyImplyLeading: false,
middle: const Text('Add chat pane'),
trailing: CupertinoButton(
padding: EdgeInsets.zero,
+2
View File
@@ -19,3 +19,5 @@ Rendered captures inspected at both requested widths and both native hosts:
- Material light folded visibility proof, 880x1000: `/private/tmp/pane-picker-material-880-folded/01-picker.png`. The sidebar's Starred group is folded; the picker contains exactly its two visible Chats rows, preserving the same row presentation while excluding every folded chat and the already-open chat.
Every cited PNG was inspected. Capture-owned browsers and loopback servers exited normally. No Safari or physical-device acceptance is claimed. No deployment was performed by this change.
Cupertino modal header follow-up: disabled automatically implied leading navigation so the sheet has only its Cancel dismiss action, with no duplicate Back chevron. Re-ran the six picker tests (all passed, peak 852 MB, 4s), rebuilt the fixture web app, and inspected `/private/tmp/pane-picker-cupertino-560-polished/01-picker.png`; the underlying chat's own Back control remains outside the sheet. Capture tools exited normally.