diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7f7efcb74..09936ff4f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] accompanist-permissions = "0.34.0" -android-gradle-plugin = "8.5.2" +android-gradle-plugin = "8.6.0" androidx-activity = "1.9.1" androidx-annotation-experimental = "1.4.1" androidx-compose-bom = "2024.08.00" diff --git a/sample/src/main/java/com/smileidentity/sample/compose/RootScreen.kt b/sample/src/main/java/com/smileidentity/sample/compose/RootScreen.kt index f095a6b47..d3728af8a 100644 --- a/sample/src/main/java/com/smileidentity/sample/compose/RootScreen.kt +++ b/sample/src/main/java/com/smileidentity/sample/compose/RootScreen.kt @@ -1,5 +1,6 @@ package com.smileidentity.sample.compose +import android.annotation.SuppressLint import android.content.Context import android.widget.Toast import androidx.compose.foundation.layout.Arrangement @@ -13,7 +14,6 @@ import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue import androidx.compose.runtime.produceState import androidx.compose.runtime.remember -import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalContext @@ -50,6 +50,7 @@ fun RootScreen( .build() } + @SuppressLint("ProduceStateDoesNotAssignValue") val initializationState by produceState( InitializationState.NotInitialized, ) {