Skip to content

Commit 420d5cb

Browse files
committed
Wrap RNode preset settings chips in FlowRow to prevent overflow
Greptile found the new LT-airtime chip pushes the Ruhrgebiet preset to five labels in a single non-wrapping Row, which can overflow or clip on narrow screens / larger fonts. Switch the settings-preview row to FlowRow (with vertical spacing), matching how chips wrap elsewhere in this wizard (ModemPresetStep), so the card stays usable on constrained displays.
1 parent 5593005 commit 420d5cb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/network/columba/app/ui/screens/rnode/RegionSelectionStep.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package network.columba.app.ui.screens.rnode
22

33
import androidx.compose.foundation.layout.Arrangement
44
import androidx.compose.foundation.layout.Column
5+
import androidx.compose.foundation.layout.FlowRow
56
import androidx.compose.foundation.layout.Row
67
import androidx.compose.foundation.layout.Spacer
78
import androidx.compose.foundation.layout.fillMaxSize
@@ -405,8 +406,9 @@ private fun PopularPresetCard(
405406
Spacer(Modifier.height(8.dp))
406407

407408
// Settings preview - show all parameters since these are complete presets
408-
Row(
409+
FlowRow(
409410
horizontalArrangement = Arrangement.spacedBy(16.dp),
411+
verticalArrangement = Arrangement.spacedBy(4.dp),
410412
) {
411413
SettingChip(
412414
label = "${preset.frequency / 1_000_000.0} MHz",

0 commit comments

Comments
 (0)