fix(native): a store account with a running TREK Cloud subscription buys no second one

One subscription per Apple ID or Google account. Choosing another plan in the app changed the running subscription on the App Store, and the redeem then failed with 'We could not set up your TREK'. The app now asks the store first and shows a screen of its own: the account already has TREK Cloud, a new one can be taken out once it has ended, with Open my TREK and the store's page to manage it. The native purchase refuses as well; a paid one that was never set up is still redeemed. On the address screens the link 'What is a TREK server?' is gone, and the small print under a purchase is set in the system text face at regular weight.
This commit is contained in:
Maurice
2026-11-12 09:28:56 +01:00
parent 5395d53332
commit 3c0c3b3f6e
37 changed files with 429 additions and 64 deletions
+10 -2
View File
@@ -1058,12 +1058,20 @@ a.linkbtn {
border-color: var(--edge-strong);
border-top-color: var(--ink);
}
/* Small print (the terms a purchase is under, how it renews): in the system's
own text face at its regular weight. Poppins ships from 500 up only, which
made a paragraph of legal text read as heavy as a heading. */
.note {
text-align: center;
color: var(--faint);
font-size: 0.84rem;
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', Roboto, system-ui, sans-serif;
font-weight: 400;
font-size: 0.76rem;
margin: 2px 0 0;
line-height: 1.45;
line-height: 1.5;
}
.note a {
color: var(--muted);
}
/* Under the plans: restore, the renewal terms, the legal links. */
.plans-foot {