Skip to content

Commit

Permalink
fix: 高级设置页面不滑动 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Oct 9, 2023
1 parent 12c717a commit 0cbded5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/java/li/songe/gkd/ui/DebugPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.Divider
import androidx.compose.material.MaterialTheme
import androidx.compose.material.OutlinedTextField
Expand Down Expand Up @@ -85,6 +88,8 @@ fun DebugPage() {
}, content = { contentPadding ->
Column(
modifier = Modifier
.fillMaxSize()
.verticalScroll(rememberScrollState())
.padding(0.dp, 10.dp)
.padding(contentPadding),
verticalArrangement = Arrangement.spacedBy(10.dp),
Expand Down

0 comments on commit 0cbded5

Please sign in to comment.