mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-15 09:10:19 +00:00
wip
This commit is contained in:
@@ -145,7 +145,7 @@ struct BadgesPayView: View {
|
||||
.font(.body)
|
||||
if let percent = savingsPercent(period) {
|
||||
Text("Save \(percent)%")
|
||||
.font(.caption)
|
||||
.font(.footnote)
|
||||
.foregroundColor(isSelected ? theme.colors.primary : theme.colors.secondary)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -165,7 +165,7 @@ private fun PeriodCard(level: BadgeLevel, period: BadgePeriod, selectedPeriod: B
|
||||
Text(
|
||||
// the percent sign is in the argument, not the resource: adjustFormatting rejects %%
|
||||
stringResource(MR.strings.badges_savings).format("$percent%"),
|
||||
style = MaterialTheme.typography.caption,
|
||||
style = MaterialTheme.typography.body2,
|
||||
color = if (isSelected) MaterialTheme.colors.primary else MaterialTheme.colors.secondary,
|
||||
textAlign = TextAlign.Center
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user