Make top app bar lift behavior more consistent

This commit is contained in:
arkon
2022-08-31 16:31:08 -04:00
parent 4c1da1bd1d
commit 504844a892
22 changed files with 73 additions and 90 deletions

View File

@@ -71,7 +71,7 @@ fun BrowseSourceScreen(
}
Scaffold(
topBar = {
topBar = { scrollBehavior ->
BrowseSourceToolbar(
state = presenter,
source = presenter.source!!,
@@ -81,6 +81,7 @@ fun BrowseSourceScreen(
onWebViewClick = onWebViewClick,
onHelpClick = onHelpClick,
onSearch = { presenter.search() },
scrollBehavior = scrollBehavior,
)
},
floatingActionButton = {