Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Closes #26973: adjust wallpaper onboarding ui (#26974)
Browse files Browse the repository at this point in the history
Co-authored-by: mike a <mavduevskiy@gmail.com>
Co-authored-by: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 15, 2022
1 parent d987afd commit 7fc96b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -117,8 +117,6 @@ fun WallpaperOnboarding(
style = FirefoxTheme.typography.button,
)
}

Spacer(modifier = Modifier.height(12.dp))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
<style name="HomeOnboardingDialogStyle" parent="DialogStyleBase"/>
<style name="WallpaperOnboardingDialogStyle" parent="DialogStyleBase">
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimAmount">0.02</item>
<item name="android:backgroundDimAmount">0.06</item>
</style>
<style name="CreateShortcutDialogButton" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
<item name="android:layout_width">wrap_content</item>
Expand Down

0 comments on commit 7fc96b0

Please sign in to comment.