Opt in to the foundation API the search target uses

This commit is contained in:
Kurt Himebauch committed 2026-12-03 17:08:46 -05:00
1 parent 08af3486b8
commit e1147ec145
1 file changed
+1
@@ -31,6 +31,7 @@ private const val JUMP_WINDOW_MS = 5_000L
/** False in the search results, whose rows carry the same labels as the rows they open. */
internal val LocalSearchTargets = staticCompositionLocalOf { true }
@OptIn(androidx.compose.foundation.ExperimentalFoundationApi::class)
@Composable
internal fun Modifier.searchTarget(label: String): Modifier {
val pal = LocalPalette.current