Skip to content

Commit

Permalink
add cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Jul 29, 2024
1 parent fa04fff commit d98dc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RevenueCatUI/CustomerCenter/Views/RestorePurchasesAlert.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ struct RestorePurchasesAlert: ViewModifier {
self.setAlertType(alertType)
}
}),
secondaryButton: .cancel(Text("Cancel"))
secondaryButton: .cancel(Text(Text(localization.commonLocalizedString(for: .cancel))))
)

case .purchasesRecovered:
return Alert(title: Text("Purchases recovered!"),
message: Text("We applied the previously purchased items to your account. " +
"Sorry for the inconvenience."),
dismissButton: .default(Text("Dismiss")) {
dismissButton: .default(Text(localization.commonLocalizedString(for: .dismiss))) {
dismiss()
})

Expand Down

0 comments on commit d98dc5f

Please sign in to comment.