Skip to content

Commit ce1e59f

Browse files
authored
Use the modifier in EmptyDecoration (#2043)
1 parent a567b58 commit ce1e59f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

circuit-foundation/src/commonMain/kotlin/com/slack/circuit/foundation/NavigableCircuitContent.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import androidx.compose.animation.shrinkHorizontally
2020
import androidx.compose.animation.slideInHorizontally
2121
import androidx.compose.animation.slideOutHorizontally
2222
import androidx.compose.animation.togetherWith
23+
import androidx.compose.foundation.layout.Box
2324
import androidx.compose.runtime.Composable
2425
import androidx.compose.runtime.CompositionLocalProvider
2526
import androidx.compose.runtime.DisposableEffect
@@ -445,7 +446,7 @@ public object NavigatorDefaults {
445446
modifier: Modifier,
446447
content: @Composable (T) -> Unit,
447448
) {
448-
content(args.first())
449+
Box(modifier = modifier) { content(args.first()) }
449450
}
450451
}
451452
}

0 commit comments

Comments
 (0)