From 8687e66c53e039f3277e87dc9daed62506e34531 Mon Sep 17 00:00:00 2001 From: yaoxieyoulei <1622968661@qq.com> Date: Wed, 30 Oct 2024 14:54:05 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=97=B6=E9=97=B4=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=80=8F=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ClassicChannelGroupItemList.kt | 1 - .../mytv/tv/ui/screens/datetime/DatetimeScreen.kt | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/classicchannel/components/ClassicChannelGroupItemList.kt b/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/classicchannel/components/ClassicChannelGroupItemList.kt index 7bf75217..758a823b 100644 --- a/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/classicchannel/components/ClassicChannelGroupItemList.kt +++ b/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/classicchannel/components/ClassicChannelGroupItemList.kt @@ -28,7 +28,6 @@ import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import androidx.tv.material3.DenseListItem -import androidx.tv.material3.ListItem import androidx.tv.material3.ListItemDefaults import androidx.tv.material3.MaterialTheme import androidx.tv.material3.Text diff --git a/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/datetime/DatetimeScreen.kt b/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/datetime/DatetimeScreen.kt index a3bbffaf..aaea42da 100644 --- a/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/datetime/DatetimeScreen.kt +++ b/tv/src/main/java/top/yogiczy/mytv/tv/ui/screens/datetime/DatetimeScreen.kt @@ -1,6 +1,5 @@ package top.yogiczy.mytv.tv.ui.screens.datetime -import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding @@ -12,7 +11,6 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import androidx.compose.ui.unit.dp import androidx.tv.material3.MaterialTheme import androidx.tv.material3.Text import kotlinx.coroutines.delay @@ -67,12 +65,7 @@ fun DatetimeScreen( style = MaterialTheme.typography.titleLarge, modifier = Modifier .align(Alignment.TopEnd) - .padding(top = childPadding.top, end = childPadding.end) - .background( - color = MaterialTheme.colorScheme.surface.copy(0.8f), - shape = MaterialTheme.shapes.medium, - ) - .padding(horizontal = 8.dp, vertical = 4.dp), + .padding(top = childPadding.top, end = childPadding.end), ) } }