From 0673d97a0daee613f917355a528247a138cbcc32 Mon Sep 17 00:00:00 2001 From: Nikita Lipsky Date: Fri, 7 Apr 2023 14:53:50 +0300 Subject: [PATCH] Remove internal from common public @Composable as it is not required for 1.4.0-rc03 --- gradle.properties | 4 ++-- shared/src/commonMain/kotlin/App.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 67733d4..0ce2f46 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,6 +20,6 @@ android.targetSdk=33 android.minSdk=24 #Versions -kotlin.version=1.8.10 +kotlin.version=1.8.20 agp.version=7.4.2 -compose.version=1.4.0-alpha01-dev975 \ No newline at end of file +compose.version=1.4.0-rc03 \ No newline at end of file diff --git a/shared/src/commonMain/kotlin/App.kt b/shared/src/commonMain/kotlin/App.kt index 4722441..0889bdd 100644 --- a/shared/src/commonMain/kotlin/App.kt +++ b/shared/src/commonMain/kotlin/App.kt @@ -17,7 +17,7 @@ import org.jetbrains.compose.resources.painterResource @OptIn(ExperimentalResourceApi::class) @Composable -internal fun App() { +fun App() { MaterialTheme { var greetingText by remember { mutableStateOf("Hello, World!") } var showImage by remember { mutableStateOf(false) }