Skip to content
Merged
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 @@ -211,7 +211,11 @@ fun AboutScreen(
private fun FooterButtons(modifier: Modifier = Modifier,
onLicensesClicked: () -> Unit) {
val uriHandler = LocalUriHandler.current
FlowRow(modifier, horizontalArrangement = Arrangement.spacedBy(16.dp)) {
FlowRow(
modifier = modifier,
horizontalArrangement = Arrangement.spacedBy(16.dp),
verticalArrangement = Arrangement.spacedBy(8.dp)
Comment on lines +214 to +217
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Adding vertical arrangement to FlowRow improves the layout by distributing the buttons vertically when they wrap to the next line. This enhances the visual appeal and readability of the footer buttons, especially on smaller screens or when more buttons are added. Consider adding a comment to explain why this was added.

        modifier = modifier,
        horizontalArrangement = Arrangement.spacedBy(16.dp),
        verticalArrangement = Arrangement.spacedBy(8.dp) // Distributes buttons vertically
    )

) {
SecondaryOutlinedButton(
onClick = {
uriHandler.openUri("https://policies.google.com/terms")
Expand Down