You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let Spark exit screen content scroll behind the header #2068
The Force Transfer (Spark exit) screens put AppTopBar above the scrolling content in a ScreenColumn, so the header acts as an opaque band: content is cut off at its bottom edge instead of scrolling behind it. Other scrolling screens let the content pass under a translucent, blurred header.
Where:app/src/main/java/to/bitkit/ui/settings/lightning/. The Progress screen ("Transfer Funds", SparkExitProgressScreen.kt:99) is the one that scrolls the most. Intro, Quote, Confirm, Funding, Pay and FeeBump ("Force Transfer Funds") have the same structure.
Pattern to follow:SavingsWalletScreen.kt:84-130 (also SpendingWalletScreen, HardwareWalletScreen):
a hazeSource(hazeState) background layer as a sibling of the top bar;
AppTopBar with hazeEffect(state = hazeState) { mask = TopBarGradient }, background(TopBarGradient), zIndex(1f) and the status-bar insets;
the scrolling content starting with StatusBarSpacer() + TopBarSpacer(), so it begins below the bar and scrolls under it.
Seen on: emulator, master at 90b8e37 (PR #2056 build), Progress screen with the savings retry offer, scrolled down:
Activity