This commit is contained in:
spaced4ndy
2026-08-15 01:03:08 +04:00
parent bc273bf6a8
commit cd38dcd0a6
2 changed files with 2 additions and 2 deletions
@@ -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)
}
}
@@ -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
)