#54 toolbar takes composable as content
This commit is contained in:
parent
1112cf14d4
commit
c3abfd896e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import be.ugent.sel.studeez.ui.theme.StudeezTheme
|
||||||
// Contains floatingActionButton and bottom bar, used in the main four screens.
|
// Contains floatingActionButton and bottom bar, used in the main four screens.
|
||||||
fun PrimaryScreenToolbar(
|
fun PrimaryScreenToolbar(
|
||||||
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