mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Start re-work of play billing checkout flow.
This commit is contained in:
committed by
Greyson Parrelli
parent
b340097f9c
commit
48bd57c56a
@@ -52,13 +52,13 @@ object Scaffolds {
|
||||
snackbarHost = snackbarHost,
|
||||
topBar = {
|
||||
DefaultTopAppBar(
|
||||
title,
|
||||
titleContent,
|
||||
scrollBehavior,
|
||||
onNavigationClick,
|
||||
navigationIconPainter,
|
||||
navigationContentDescription,
|
||||
actions
|
||||
title = title,
|
||||
titleContent = titleContent,
|
||||
onNavigationClick = onNavigationClick,
|
||||
navigationIconPainter = navigationIconPainter,
|
||||
navigationContentDescription = navigationContentDescription,
|
||||
actions = actions,
|
||||
scrollBehavior = scrollBehavior
|
||||
)
|
||||
},
|
||||
modifier = modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
|
||||
@@ -67,14 +67,14 @@ object Scaffolds {
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun DefaultTopAppBar(
|
||||
fun DefaultTopAppBar(
|
||||
title: String,
|
||||
titleContent: @Composable (Float, String) -> Unit,
|
||||
scrollBehavior: TopAppBarScrollBehavior,
|
||||
onNavigationClick: () -> Unit,
|
||||
navigationIconPainter: Painter,
|
||||
navigationContentDescription: String?,
|
||||
actions: @Composable RowScope.() -> Unit
|
||||
navigationContentDescription: String? = null,
|
||||
actions: @Composable RowScope.() -> Unit = {},
|
||||
scrollBehavior: TopAppBarScrollBehavior = TopAppBarDefaults.pinnedScrollBehavior()
|
||||
) {
|
||||
TopAppBar(
|
||||
title = {
|
||||
|
||||
Reference in New Issue
Block a user