content of SecondaryScreenToolbar now takes a composable

This commit is contained in:
lbarraga 2023-04-08 22:08:36 +02:00
parent 6311832743
commit b05e167725

View file

@ -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