SecondaryScreenToolbar now accepts composables as content

This commit is contained in:
lbarraga 2023-04-08 22:39:54 +02:00
parent aa63342195
commit 36fb4620c3

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