From a1e6872f6f7ba3a72357261e655c95b13ba8eaac Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Mon, 4 Oct 2021 16:16:35 -0400 Subject: [PATCH] For #21694 - Remove RoundedCornerShape around the inner Column in RecentlyVisited --- .../mozilla/fenix/historymetadata/view/RecentlyVisited.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt b/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt index b37a498ef8..b1728b74ce 100644 --- a/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt +++ b/app/src/main/java/org/mozilla/fenix/historymetadata/view/RecentlyVisited.kt @@ -38,7 +38,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.draw.clip import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.painterResource import androidx.compose.ui.text.style.TextOverflow @@ -79,7 +78,7 @@ fun RecentlyVisited( items(itemsList) { items -> Column( - modifier = Modifier.fillMaxWidth().clip(RoundedCornerShape(8.dp)) + modifier = Modifier.fillMaxWidth() ) { items.forEachIndexed { index, recentVisit -> RecentVisitItem( @@ -118,8 +117,7 @@ private fun RecentVisitItem( onClick = { onRecentVisitClick(recentVisit) }, onLongClick = { menuExpanded = true } ) - .size(268.dp, 56.dp) - .background(color = FirefoxTheme.colors.surface), + .size(268.dp, 56.dp), verticalAlignment = Alignment.CenterVertically ) { Image(