Skip to content

Commit

Permalink
fix: settings scroll (zyrouge#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Jan 7, 2024
1 parent bbe4751 commit 034aba0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material.icons.automirrored.filled.Label
Expand Down Expand Up @@ -182,8 +184,7 @@ fun SettingsView(context: ViewContext) {
.padding(contentPadding)
.fillMaxSize()
) {

Column {
Column(modifier = Modifier.verticalScroll(rememberScrollState())) {
val contentColor = MaterialTheme.colorScheme.onPrimary

Box(
Expand Down

0 comments on commit 034aba0

Please sign in to comment.