Fix paywall width overflow on iOS 18, update onboarding tip from Yesterday to Today

Add containerRelativeFrame to paywall marketing content so feature cards
fit within screen width on iOS 18. Update onboarding tip text and all
localizations (DE, ES, FR, JA, KO, PT-BR).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-02-23 21:21:41 -06:00
parent b2b6931d7c
commit 4851eee5f8
3 changed files with 37 additions and 35 deletions

View File

@@ -17873,44 +17873,43 @@
}
}
},
"Tip: \"Yesterday\" works great for evening reminders": {
"comment": "A tip displayed below the \"Rate the previous day\" option, providing guidance on how to use the \"Yesterday\" option effectively.",
"isCommentAutoGenerated": true,
"Tip: \"Today\" works great for evening reminders": {
"comment": "A tip displayed below the day rating option, providing guidance on how to use the \"Today\" option effectively.",
"localizations": {
"de": {
"stringUnit": {
"state": "translated",
"value": "Tipp: „Gestern\" eignet sich gut für Abenderinnerungen"
"value": "Tipp: „Heute" eignet sich gut für Abenderinnerungen"
}
},
"es": {
"stringUnit": {
"state": "translated",
"value": "Consejo: \"Ayer\" funciona muy bien para recordatorios nocturnos"
"value": "Consejo: \"Hoy\" funciona muy bien para recordatorios nocturnos"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Astuce : « Hier » fonctionne bien pour les rappels du soir"
"value": "Astuce : « Aujourd'hui » fonctionne bien pour les rappels du soir"
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "ヒント:「日」は夜のリマインダーに最適です"
"value": "ヒント:「日」は夜のリマインダーに最適です"
}
},
"ko": {
"stringUnit": {
"state": "translated",
"value": "팁: \"어제\" 저녁 알림에 잘 맞습니다"
"value": "팁: \"오늘\" 저녁 알림에 잘 맞습니다"
}
},
"pt-BR": {
"stringUnit": {
"state": "translated",
"value": "Dica: \"Ontem\" funciona muito bem para lembretes noturnos"
"value": "Dica: \"Hoje\" funciona muito bem para lembretes noturnos"
}
}
}

View File

@@ -88,7 +88,7 @@ struct OnboardingDay: View {
.font(.headline)
.foregroundColor(.yellow)
Text("Tip: \"Yesterday\" works great for evening reminders")
Text("Tip: \"Today\" works great for evening reminders")
.font(.subheadline.weight(.medium))
.foregroundColor(.white.opacity(0.9))
}

View File

@@ -63,32 +63,35 @@ struct FeelsSubscriptionStoreView: View {
@ViewBuilder
private var marketingContent: some View {
switch currentStyle {
case .celestial:
CelestialMarketingContent()
case .garden:
GardenMarketingContent()
case .neon:
NeonMarketingContent()
case .minimal:
MinimalMarketingContent()
case .zen:
ZenMarketingContent()
case .editorial:
EditorialMarketingContent()
case .mixtape:
MixtapeMarketingContent()
case .heartfelt:
HeartfeltMarketingContent()
case .luxe:
LuxeMarketingContent()
case .forecast:
ForecastMarketingContent()
case .playful:
PlayfulMarketingContent()
case .journal:
JournalMarketingContent()
Group {
switch currentStyle {
case .celestial:
CelestialMarketingContent()
case .garden:
GardenMarketingContent()
case .neon:
NeonMarketingContent()
case .minimal:
MinimalMarketingContent()
case .zen:
ZenMarketingContent()
case .editorial:
EditorialMarketingContent()
case .mixtape:
MixtapeMarketingContent()
case .heartfelt:
HeartfeltMarketingContent()
case .luxe:
LuxeMarketingContent()
case .forecast:
ForecastMarketingContent()
case .playful:
PlayfulMarketingContent()
case .journal:
JournalMarketingContent()
}
}
.containerRelativeFrame(.horizontal)
}
private var tintColor: Color {