mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
Opt in to the foundation API the search target uses
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user