Skip to content

fix(settings): keep content the trailing lambda of SearchScreen - #978

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/searchscreen-trailing-content
Nov 28, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/searchscreen-trailing-content

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

c4e3b11 (#948) added an actions parameter after content in SearchScreen. Screens that pass their content as a trailing lambda (e.g. the language/subtype settings) then rendered their whole page in the top bar's actions slot: no title, content squeezed into a short strip. Affects beta-439-4.

Fix: content is the last parameter again. Callers of actions pass it by name.

Verified on Waydroid: bisected v4.3.8..main to c4e3b11; with the fix the English (US) language screen shows its title and scrolls to the bottom.

The actions parameter added after content in c4e3b11 took the trailing lambda, so screens like the language settings drew their whole page inside the top bar.
@LeanBitLab
LeanBitLab merged commit c3c14fa into main Nov 28, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/searchscreen-trailing-content branch November 28, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant