diff --git a/app/src/main/kotlin/nl/ndat/tvlauncher/data/resolver/AppResolver.kt b/app/src/main/kotlin/nl/ndat/tvlauncher/data/resolver/AppResolver.kt index a0d6d7f..24365eb 100644 --- a/app/src/main/kotlin/nl/ndat/tvlauncher/data/resolver/AppResolver.kt +++ b/app/src/main/kotlin/nl/ndat/tvlauncher/data/resolver/AppResolver.kt @@ -47,7 +47,6 @@ class AppResolver { .map { it.toApp(packageManager) } } - @Suppress("DEPRECATION") private fun PackageManager.queryIntentActivities(intent: Intent) = when { Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU -> queryIntentActivities(intent, ResolveInfoFlags.of(0L)) diff --git a/app/src/main/kotlin/nl/ndat/tvlauncher/ui/toolbar/Toolbar.kt b/app/src/main/kotlin/nl/ndat/tvlauncher/ui/toolbar/Toolbar.kt index 18662cc..6064afc 100644 --- a/app/src/main/kotlin/nl/ndat/tvlauncher/ui/toolbar/Toolbar.kt +++ b/app/src/main/kotlin/nl/ndat/tvlauncher/ui/toolbar/Toolbar.kt @@ -1,6 +1,5 @@ package nl.ndat.tvlauncher.ui.toolbar -import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.focusGroup import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column @@ -18,7 +17,7 @@ import nl.ndat.tvlauncher.data.model.ToolbarLocation import nl.ndat.tvlauncher.data.repository.PreferenceRepository import org.koin.compose.koinInject -@OptIn(ExperimentalFoundationApi::class, ExperimentalComposeUiApi::class) +@OptIn(ExperimentalComposeUiApi::class) @Composable fun Toolbar( modifier: Modifier = Modifier,