SecondaryScreenToolbar now accepts composables as content
This commit is contained in:
parent
aa63342195
commit
36fb4620c3
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ fun PrimaryScreenToolbar(
|
||||||
// Does not contain floatingActionButton and bottom bar, used in all the other screens
|
// Does not contain floatingActionButton and bottom bar, used in all the other screens
|
||||||
fun SecondaryScreenToolbar(
|
fun SecondaryScreenToolbar(
|
||||||
title: String,
|
title: String,
|
||||||
content: (PaddingValues) -> Unit
|
content: @Composable (PaddingValues) -> Unit
|
||||||
) {
|
) {
|
||||||
Scaffold(
|
Scaffold(
|
||||||
// Everything at the top of the screen
|
// Everything at the top of the screen
|
||||||
|
|
Reference in a new issue