Merge pull request #8 from JetBrains/pjBooms/remove-internal

Remove internal from common public @Composable as it is not required for 1.4.0-rc03
This commit is contained in:
Nikita Lipsky 2023-04-07 15:29:26 +03:00 committed by GitHub
commit 8618e264e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -20,6 +20,6 @@ android.targetSdk=33
android.minSdk=24 android.minSdk=24
#Versions #Versions
kotlin.version=1.8.10 kotlin.version=1.8.20
agp.version=7.4.2 agp.version=7.4.2
compose.version=1.4.0-alpha01-dev975 compose.version=1.4.0-rc03

View file

@ -17,7 +17,7 @@ import org.jetbrains.compose.resources.painterResource
@OptIn(ExperimentalResourceApi::class) @OptIn(ExperimentalResourceApi::class)
@Composable @Composable
internal fun App() { fun App() {
MaterialTheme { MaterialTheme {
var greetingText by remember { mutableStateOf("Hello, World!") } var greetingText by remember { mutableStateOf("Hello, World!") }
var showImage by remember { mutableStateOf(false) } var showImage by remember { mutableStateOf(false) }