mirror of
https://github.com/jellyfin/jellyfin-androidtv.git
synced 2026-10-26 16:45:23 +00:00
Support interaction tracking within dialogs
This commit is contained in:
1 parent
74e24efcbf
commit
cafd225074
1 file changed
+3
-1
@@ -27,6 +27,7 @@ import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.window.Dialog
|
||||
import androidx.compose.ui.window.DialogProperties
|
||||
import org.jellyfin.androidtv.ui.base.JellyfinTheme
|
||||
import org.jellyfin.androidtv.ui.base.interactionTracker
|
||||
|
||||
@Composable
|
||||
fun DialogBase(
|
||||
@@ -63,7 +64,8 @@ fun DialogBase(
|
||||
.fillMaxSize()
|
||||
.background(scrimColor.copy(alpha = scrimColor.alpha * alpha))
|
||||
.focusRequester(focusRequester)
|
||||
.focusGroup(),
|
||||
.focusGroup()
|
||||
.interactionTracker(),
|
||||
contentAlignment = contentAlignment,
|
||||
) {
|
||||
transition.AnimatedVisibility(
|
||||
|
||||
Reference in new issue
Block a user