centre the info dialog's rows so the smaller labels line up with their values

This commit is contained in:
austinried
2026-10-04 00:30:04 +00:00
parent 76f3b39162
commit 7b43b73592
@@ -18,6 +18,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.unit.dp
@@ -77,7 +78,10 @@ private fun InfoRow(
value: String?,
) {
if (value.isNullOrBlank()) return
Row(Modifier.fillMaxWidth().padding(vertical = 2.dp)) {
Row(
modifier = Modifier.fillMaxWidth().padding(vertical = 2.dp),
verticalAlignment = Alignment.CenterVertically,
) {
Text(
text = label,
style = MaterialTheme.typography.bodySmall,