Fix crash from nested verticalScroll in Active relays screen

The navigation host already wraps the screen's modifier in a verticalScroll
(MainScreen passes a verticalScroll modifier into ActiveRelaysScreen). The
inner Column.verticalScroll added with the two-section layout nested a second
vertical scroll, causing an infinite-height-constraints IllegalStateException.

Remove the inner verticalScroll and its now-unused imports; scrolling is
handled by the caller's modifier as before.

https://claude.ai/code/session_01R2Wuj6ipCN2wVa29qGNXQn
This commit is contained in:
Claude
2026-06-16 10:26:03 +00:00
parent daa649088a
commit f802658dff
@@ -14,10 +14,8 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.ContentPaste
@@ -632,8 +630,7 @@ fun ActiveRelaysScreen(
Column(
modifier = modifier
.fillMaxSize()
.verticalScroll(rememberScrollState()),
.fillMaxSize(),
) {
SectionLabel(stringResource(R.string.default_relays))
Text(