components: FullScreenPicker uses the pinned bar
Completes the picker upstream: FullScreenPicker now passes largeTopBar=false to CollapsingScaffold, so the family's selection pickers sit under a pinned single-line bar instead of a tall collapsing header (the short list has nothing to scroll past). Matches Calendula's scrollable-picker fix; applies family-wide. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -39,7 +39,9 @@ are no binary releases; "version" tracks the shared `version` in the root build
|
|||||||
- `OptionCard` — the sanctioned selection-dialog pick.
|
- `OptionCard` — the sanctioned selection-dialog pick.
|
||||||
- `CollapsingScaffold` — the collapsing settings/sub-screen scaffold; set
|
- `CollapsingScaffold` — the collapsing settings/sub-screen scaffold; set
|
||||||
`largeTopBar = false` for a pinned single-line bar (the picker variant).
|
`largeTopBar = false` for a pinned single-line bar (the picker variant).
|
||||||
- `FullScreenPicker` / `OptionPicker` — the full-screen single-select picker.
|
- `FullScreenPicker` / `OptionPicker` — the full-screen single-select picker,
|
||||||
|
now over a pinned single-line bar (a picker is a short list, so no tall
|
||||||
|
collapsing header to scroll past).
|
||||||
- `ReorderableColumn` — dependency-free drag-to-reorder for the short, fixed
|
- `ReorderableColumn` — dependency-free drag-to-reorder for the short, fixed
|
||||||
grouped-card Settings lists; pairs with `GroupedRow(gapBelow = false)`, which
|
grouped-card Settings lists; pairs with `GroupedRow(gapBelow = false)`, which
|
||||||
hands the column uniform control of row spacing.
|
hands the column uniform control of row spacing.
|
||||||
|
|||||||
@@ -15,9 +15,10 @@ import androidx.compose.ui.window.DialogWindowProvider
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Full-screen scaffold for selection pickers: a full-bleed [Dialog] that reuses
|
* Full-screen scaffold for selection pickers: a full-bleed [Dialog] that reuses
|
||||||
* [CollapsingScaffold] (collapsing title + back), so a picker is visually
|
* [CollapsingScaffold] with a pinned single-line bar, so a picker uses the full
|
||||||
* identical to a settings sub-page and uses the full width. [content] places the
|
* width without a tall header — it's a short selection list, so the large
|
||||||
* connected grouped rows; selecting one calls [onDismiss].
|
* collapsing header would only be empty space to scroll past. [content] places
|
||||||
|
* the connected grouped rows; selecting one calls [onDismiss].
|
||||||
*/
|
*/
|
||||||
@Composable
|
@Composable
|
||||||
fun FullScreenPicker(
|
fun FullScreenPicker(
|
||||||
@@ -45,6 +46,7 @@ fun FullScreenPicker(
|
|||||||
CollapsingScaffold(
|
CollapsingScaffold(
|
||||||
title = title,
|
title = title,
|
||||||
onBack = onDismiss,
|
onBack = onDismiss,
|
||||||
|
largeTopBar = false,
|
||||||
predictiveBack = predictiveBack,
|
predictiveBack = predictiveBack,
|
||||||
content = content,
|
content = content,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user