Skip to content

Commit

Permalink
Remove some unnecessary annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Jan 28, 2024
1 parent f57dc7e commit 2e254f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/kotlin/nl/ndat/tvlauncher/ui/toolbar/Toolbar.kt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 2e254f7

Please sign in to comment.