From 7fc96b01b223049b0d6db368d69bd7853a32e56f Mon Sep 17 00:00:00 2001 From: mavduevskiy <92760693+mavduevskiy@users.noreply.github.com> Date: Wed, 14 Sep 2022 21:06:15 -0700 Subject: [PATCH] Closes #26973: adjust wallpaper onboarding ui (#26974) Co-authored-by: mike a Co-authored-by: Ryan VanderMeulen Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .../org/mozilla/fenix/wallpapers/WallpaperOnboarding.kt | 6 ++---- app/src/main/res/values/styles.xml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperOnboarding.kt b/app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperOnboarding.kt index 2235ba1fed30..68c968c12684 100644 --- a/app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperOnboarding.kt +++ b/app/src/main/java/org/mozilla/fenix/wallpapers/WallpaperOnboarding.kt @@ -55,10 +55,10 @@ fun WallpaperOnboarding( ) { Surface( color = FirefoxTheme.colors.layer2, - shape = RoundedCornerShape(topStart = 16.dp, topEnd = 16.dp), + shape = RoundedCornerShape(topStart = 8.dp, topEnd = 8.dp), ) { Column( - modifier = Modifier.padding(16.dp), + modifier = Modifier.padding(horizontal = 32.dp, vertical = 16.dp), horizontalAlignment = Alignment.CenterHorizontally, ) { Icon( @@ -117,8 +117,6 @@ fun WallpaperOnboarding( style = FirefoxTheme.typography.button, ) } - - Spacer(modifier = Modifier.height(12.dp)) } } } diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 2808c56b1745..69555986ac35 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -566,7 +566,7 @@