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

Closes #26973: adjust wallpaper onboarding ui #26974

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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