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
|
||||
fun SecondaryScreenToolbar(
|
||||
title: String,
|
||||
content: (PaddingValues) -> Unit
|
||||
content: @Composable (PaddingValues) -> Unit
|
||||
) {
|
||||
Scaffold(
|
||||
// Everything at the top of the screen
|
||||
|
|
Reference in a new issue