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
Browse files Browse the repository at this point in the history
  • Loading branch information
mike a committed Sep 14, 2022
1 parent 1164703 commit 9f78f64
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 @@ -115,8 +115,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.04</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 9f78f64

Please sign in to comment.