From af500e9f2bb0d13e5ed930dadf821d57f441dd11 Mon Sep 17 00:00:00 2001 From: Tlaster Date: Mon, 16 Oct 2023 16:37:08 +0900 Subject: [PATCH] fix build --- .../moe/tlaster/precompose/lifecycle/PreComposeActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/precompose/src/androidMain/kotlin/moe/tlaster/precompose/lifecycle/PreComposeActivity.kt b/precompose/src/androidMain/kotlin/moe/tlaster/precompose/lifecycle/PreComposeActivity.kt index fdc7c59f..4b894dba 100644 --- a/precompose/src/androidMain/kotlin/moe/tlaster/precompose/lifecycle/PreComposeActivity.kt +++ b/precompose/src/androidMain/kotlin/moe/tlaster/precompose/lifecycle/PreComposeActivity.kt @@ -24,6 +24,7 @@ typealias PreComposeActivity = ComponentActivity """, replaceWith = ReplaceWith("androidx.activity.compose.setContent"), ) +@Suppress("DEPRECATION") fun PreComposeActivity.setContent( parent: CompositionContext? = null, content: @Composable () -> Unit,