Bump Jetpack Compose version

This commit is contained in:
vfsfitvnm
2022-07-04 17:20:05 +02:00
parent 2480fe52c0
commit 0655e3efd5
3 changed files with 8 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ class Route0(
) : Route(tag) {
context(RouteHandlerScope)
@Composable
inline operator fun invoke(content: @Composable () -> Unit) {
operator fun invoke(content: @Composable () -> Unit) {
if (this == route) {
content()
}
@@ -61,7 +61,7 @@ class Route1<P0>(
context(RouteHandlerScope)
@Composable
inline operator fun invoke(content: @Composable (P0) -> Unit) {
operator fun invoke(content: @Composable (P0) -> Unit) {
if (this == route) {
if (route is Route1<*>) {
@Suppress("UNCHECKED_CAST")
@@ -90,7 +90,7 @@ class Route2<P0, P1>(
context(RouteHandlerScope)
@Composable
inline operator fun invoke(content: @Composable (P0, P1) -> Unit) {
operator fun invoke(content: @Composable (P0, P1) -> Unit) {
if (this == route) {
if (route is Route2<*, *>) {
@Suppress("UNCHECKED_CAST")