diff --git a/app/src/main/java/me/lsong/mytv/ui/MainScreen.kt b/app/src/main/java/me/lsong/mytv/ui/MainScreen.kt index 587f044..7544b77 100644 --- a/app/src/main/java/me/lsong/mytv/ui/MainScreen.kt +++ b/app/src/main/java/me/lsong/mytv/ui/MainScreen.kt @@ -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)), ) } diff --git a/app/src/main/java/me/lsong/mytv/ui/components/Menu.kt b/app/src/main/java/me/lsong/mytv/ui/components/Menu.kt index ce4f95c..bb732ac 100644 --- a/app/src/main/java/me/lsong/mytv/ui/components/Menu.kt +++ b/app/src/main/java/me/lsong/mytv/ui/components/Menu.kt @@ -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 ->