From abcc9dfc679405c411a4bd5ce1d7ec94b32a4b80 Mon Sep 17 00:00:00 2001 From: Mugurell Date: Fri, 8 Oct 2021 18:48:31 +0300 Subject: [PATCH] For #21806 - Set 1dp elevation for ListItemTabLarge To get smaller shadows. --- app/src/main/java/org/mozilla/fenix/compose/ListItemTabLarge.kt | 2 +- .../org/mozilla/fenix/compose/ListItemTabLargePlaceholder.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLarge.kt b/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLarge.kt index 6d1eb8d776..ffcede086f 100644 --- a/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLarge.kt +++ b/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLarge.kt @@ -111,7 +111,7 @@ private fun ListItemTabSurface( modifier = modifier, shape = RoundedCornerShape(8.dp), backgroundColor = FirefoxTheme.colors.surface, - elevation = 6.dp + elevation = 1.dp ) { Row( modifier = Modifier.padding(16.dp) diff --git a/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLargePlaceholder.kt b/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLargePlaceholder.kt index 16b912a3b3..850e25d960 100644 --- a/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLargePlaceholder.kt +++ b/app/src/main/java/org/mozilla/fenix/compose/ListItemTabLargePlaceholder.kt @@ -50,7 +50,7 @@ fun ListItemTabLargePlaceholder( .clickable { onClick() }, shape = RoundedCornerShape(8.dp), backgroundColor = FirefoxTheme.colors.surface, - elevation = 6.dp, + elevation = 1.dp, ) { Column( modifier = Modifier