From 638495756d2109ee9c9cf97889f14269643ca05e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:35:39 +0000 Subject: [PATCH] Bump the agp group with 2 updates (#438) --- gradle/libs.versions.toml | 2 +- .../main/java/com/smileidentity/sample/compose/RootScreen.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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, ) {