Skip to content

feat(tipping): give the Chats tab the standard centred title - #1382

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/chats-tab-title
Aug 31, 2026
Merged

feat(tipping): give the Chats tab the standard centred title#1382
bmc08gt merged 1 commit into
code/cashfrom
feat/chats-tab-title

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

The Chats tab was the only screen in the app with a large flush-start title, and its list ran to a hard cut at both edges.

  • Drop titleTextStyle = screenTitleLarge so the bar falls back to screenTitle, and pass titleAlignment = Alignment.CenterHorizontally. The alignment is not redundant: with no leading control the slot reserves no width, so a Start-aligned title sits flush at the inset and reads off-centre against the Add button.
  • Fade the list with verticalScrollStateGradient, applied after the scaffold padding so the gradient lands on the list viewport flush under the app bar rather than on the bar's own space. The helper only draws at an edge that can still be scrolled toward, so the empty state, which fills the viewport and cannot scroll, stays unfaded.

CodeTheme.typography.screenTitleLarge now has no callers. Left in place rather than removed as part of this change.

The large title was the only one of its kind in the app, and it left the
list running to a hard cut at both edges.

Drop `screenTitleLarge` so the bar falls back to `screenTitle`, and centre
it: with no leading control the slot reserves no width, so a Start-aligned
title sits flush at the inset and reads off-centre against the Add button.

Fade the list with `verticalScrollStateGradient`, applied after the scaffold
padding so the gradient lands on the viewport flush under the bar rather
than on the bar's own space. It only draws at an edge that can still be
scrolled toward, so the empty state — which fills the viewport and cannot
scroll — is unfaded.

`screenTitleLarge` now has no callers; left in place.
@bmc08gt bmc08gt self-assigned this Aug 31, 2026
@github-actions github-actions Bot added the type: feature New functionality label Aug 31, 2026
@bmc08gt
bmc08gt merged commit 191542e into code/cash Aug 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant