fix(android): Settings column wasn't scrolling
Adding the new Profile / Password / ListenBrainz / Update-check cards pushed AppearanceCard / StorageCard / AboutCard / Sign-out button off the bottom of the viewport on any normal phone. The column was fillMaxSize without verticalScroll, so they were unreachable. User reported: 'I can't find the light/dark theme controls anymore. The settings menu looks like it should scroll but doesn't.' AppearanceCard is at position ~9 in the column, well past the fold on a typical device. Single-line fix: add verticalScroll(rememberScrollState()) to the column's modifier chain. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.fabledsword.minstrel.settings.ui
|
||||
|
||||
import androidx.compose.foundation.clickable
|
||||
import androidx.compose.foundation.rememberScrollState
|
||||
import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Column
|
||||
@@ -87,6 +89,7 @@ fun SettingsScreen(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.padding(inner)
|
||||
.verticalScroll(rememberScrollState())
|
||||
.padding(16.dp),
|
||||
verticalArrangement = Arrangement.spacedBy(16.dp),
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user