Skip to content

Commit

Permalink
Add vertical scroll to about screen (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellogalhardo authored Jun 14, 2023
1 parent 63623cc commit fea2b83
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.*
import androidx.compose.material3.Divider
Expand Down Expand Up @@ -63,7 +65,11 @@ fun AboutActivity(
SimpleTopAppBar(text = stringResource(R.string.settings_about_about), navController = navController)
},
content = { padding ->
Column(modifier = Modifier.padding(padding)) {
Column(
modifier = Modifier
.verticalScroll(rememberScrollState())
.padding(padding),
) {
SettingsMenuLink(
title = { Text(stringResource(R.string.settings_about_what_s_new)) },
subtitle = { Text(stringResource(R.string.settings_about_version, version ?: "")) },
Expand Down

0 comments on commit fea2b83

Please sign in to comment.