diff --git a/app/src/main/java/com/saulhdev/feeder/compose/components/ViewWithActionBar.kt b/app/src/main/java/com/saulhdev/feeder/compose/components/ViewWithActionBar.kt index d2dadb8..8b48c26 100644 --- a/app/src/main/java/com/saulhdev/feeder/compose/components/ViewWithActionBar.kt +++ b/app/src/main/java/com/saulhdev/feeder/compose/components/ViewWithActionBar.kt @@ -55,6 +55,7 @@ fun ViewWithActionBar( title: String, titleSize: TextUnit = 18.sp, subTitle: String = "", + modifier: Modifier = Modifier, bottomBar: @Composable () -> Unit = {}, floatingActionButton: @Composable () -> Unit = {}, showBackButton: Boolean = true, @@ -64,7 +65,6 @@ fun ViewWithActionBar( ) { val scrollBehavior = enterAlwaysScrollBehavior(rememberTopAppBarState()) - Scaffold( topBar = { TopAppBar( @@ -118,7 +118,8 @@ fun ViewWithActionBar( }, bottomBar = bottomBar, floatingActionButton = floatingActionButton, - content = content + content = content, + modifier = modifier ) }