mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-06 22:58:19 +00:00
ios, android: lighten the order summary rows, keeping the values a step bolder
This commit is contained in:
@@ -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)
|
||||
|
||||
+2
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user