update
This commit is contained in:
parent
27e07dae05
commit
e74c15571a
@ -197,7 +197,8 @@ fun MyTvMenuWidget(
|
||||
verticalArrangement = Arrangement.SpaceBetween,
|
||||
modifier = Modifier
|
||||
.width(250.dp)
|
||||
.fillMaxHeight(),
|
||||
.fillMaxHeight()
|
||||
.background(androidx.tv.material3.MaterialTheme.colorScheme.background.copy(0.9f)),
|
||||
) {
|
||||
MyTvMenuItemList(
|
||||
items = groups,
|
||||
@ -238,7 +239,8 @@ fun MyTvMenuWidget(
|
||||
onSelected(selectedChannel)
|
||||
},
|
||||
onUserAction = onUserAction,
|
||||
focusRequester = rightListFocusRequester
|
||||
focusRequester = rightListFocusRequester,
|
||||
modifier = Modifier.background(androidx.tv.material3.MaterialTheme.colorScheme.background.copy(0.8f)),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,6 @@ fun MyTvMenuItemList(
|
||||
verticalArrangement = Arrangement.spacedBy(8.dp),
|
||||
modifier = modifier
|
||||
.width(250.dp)
|
||||
.background(MaterialTheme.colorScheme.background.copy(0.8f))
|
||||
.focusRequester(focusRequester)
|
||||
) {
|
||||
itemsIndexed(items, key = { _, item -> item.hashCode() }) { index, item ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user