From e611320b9c272549b6e64e4cfae8e63e1c6e2968 Mon Sep 17 00:00:00 2001 From: Enrico Mazzucchelli Date: Tue, 3 Sep 2024 10:58:00 +0200 Subject: [PATCH] Fix minor issues --- .../com/google/samples/apps/nowinandroid/MainActivity.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt b/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt index 2f8572102..cffb13f34 100644 --- a/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt +++ b/app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt @@ -23,7 +23,6 @@ import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.activity.viewModels import androidx.compose.foundation.isSystemInDarkTheme -import androidx.compose.material3.adaptive.ExperimentalMaterial3AdaptiveApi import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.DisposableEffect @@ -55,8 +54,6 @@ import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.launch import javax.inject.Inject -private const val TAG = "MainActivity" - @AndroidEntryPoint class MainActivity : ComponentActivity() { @@ -148,7 +145,6 @@ class MainActivity : ComponentActivity() { androidTheme = shouldUseAndroidTheme(uiState), disableDynamicTheming = shouldDisableDynamicTheming(uiState), ) { - @OptIn(ExperimentalMaterial3AdaptiveApi::class) NiaApp(appState) } }