mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-08 05:47:43 +00:00
ios, android: hide Restore purchases on the order screen
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
+6
-4
@@ -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))
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user