ios, android: lighten the order summary rows, keeping the values a step bolder

This commit is contained in:
spaced4ndy
2026-10-02 14:33:35 +04:00
parent 8524bcefe5
commit 59668a5f44
2 changed files with 3 additions and 4 deletions
@@ -79,11 +79,10 @@ struct BadgesCheckOrderView: View {
private func orderRow(_ title: LocalizedStringKey, _ value: Text) -> some View {
HStack {
Text(title)
.fontWeight(.medium)
.foregroundColor(theme.colors.secondary)
Spacer()
value
.fontWeight(.semibold)
.fontWeight(.medium)
}
.font(.body)
.padding(.vertical, 8)
@@ -83,9 +83,9 @@ fun BadgesCheckOrderView(level: BadgeLevel, period: BadgePeriod, modalManager: M
@Composable
private fun OrderRow(title: StringResource, value: String) {
Row(Modifier.fillMaxWidth().padding(vertical = 8.dp)) {
Text(stringResource(title), style = MaterialTheme.typography.body1, fontWeight = FontWeight.Medium, color = MaterialTheme.colors.secondary)
Text(stringResource(title), style = MaterialTheme.typography.body1, color = MaterialTheme.colors.secondary)
Spacer(Modifier.weight(1f))
Text(value, style = MaterialTheme.typography.body1, fontWeight = FontWeight.SemiBold)
Text(value, style = MaterialTheme.typography.body1, fontWeight = FontWeight.Medium)
}
}