fix: settings deck fills down to just above the build label (v2.9.27) The real fix for the Fold 7 'dead space below the stack + Pro card clips its copy/reveal buttons' report (v2.9.24 only removed a cap that never engaged on the Fold — wrong diagnosis, no visible change). Root cause: the deck reserved a FIXED 36dp gutter for the build label, but the label is pinned with navigationBarsPadding, whose inset varies (gesture vs three-button nav). Wherever the fixed gutter and the live inset didn't line up, a band of dead space was stranded below the fanned cards. - settingsDeckHeight now takes the nav-bar inset, measured live via WindowInsets.navigationBars at the call site, and reserves exactly that plus the label's own padding/line height and a 6dp gap — so the lowest fanned card sits cleanly above the label and the Pro card gets its full height, on any screen or nav mode - Replaced DECK_BOTTOM_GUTTER with VERSION_LABEL_FOOTPRINT + DECK_TO_VERSION_GAP - Updated SettingsStackTest to the new signature (fill-to-label, no cap, nav-inset-aware); all green
$ koh steal kepr.uk/peach-android@ca9a1c6b0197
·
parent: 469044a2b623
discussion
log in to leave a comment.