ios, android: hide Restore purchases on the order screen

This commit is contained in:
spaced4ndy committed 2026-10-19 17:57:51 +04:00
1 parent da39d8923a
commit 140db8db88
2 files changed
+11 -7

No files matched your search

@@ -68,9 +68,11 @@ struct BadgesCheckOrderView: View {
Link("Privacy policy", destination: conditionsURL)
}
.font(.footnote)
RestorePurchasesButton()
.padding(.top, 10)
footnote("Adds an App Store purchase of this Apple ID that no profile here has yet. A purchase still being added on another device may be added here instead.")
// hidden: the unfinished-transaction sweep already re-presents a charged purchase,
// leaving only another profile's purchase to claim
// RestorePurchasesButton()
// .padding(.top, 10)
// footnote("Adds an App Store purchase of this Apple ID that no profile here has yet. A purchase still being added on another device may be added here instead.")
}
.padding(.bottom, g.safeAreaInsets.bottom == 0 ? 20 : 0)
}
@@ -79,10 +79,12 @@ fun BadgesCheckOrderView(level: BadgeLevel, period: BadgePeriod, modalManager: M
style = MaterialTheme.typography.body2,
color = MaterialTheme.colors.primary
)
if (badgeStoreLane) {
RestorePurchasesButton(Modifier.padding(top = 10.dp))
Footnote(stringResource(MR.strings.badges_restore_purchases_footnote))
}
// hidden: the unfinished-purchase sweep already re-presents a charged purchase,
// leaving only another profile's purchase to claim
// if (badgeStoreLane) {
// RestorePurchasesButton(Modifier.padding(top = 10.dp))
// Footnote(stringResource(MR.strings.badges_restore_purchases_footnote))
// }
}
}
}