fix(subscription): preselect pay channel before navigation

This commit is contained in:
2026-07-02 11:38:47 +08:00
parent 35c8de917d
commit cd25fa35f2
15 changed files with 121 additions and 56 deletions
@@ -62,7 +62,7 @@ describe("subscription screen helpers", () => {
{
id: "coin_1000",
coins: 1000,
price: "9.90",
price: "9.9",
currency: "US$",
},
]);
@@ -98,7 +98,7 @@ describe("subscription screen helpers", () => {
).toMatchObject([
{
id: "vip_test",
price: "77.90",
price: "77.9",
},
]);
});
@@ -138,7 +138,7 @@ describe("subscription screen helpers", () => {
{
id: "coin_1000",
coins: 1000,
price: "9.90",
price: "9.9",
currency: "US$",
},
],
@@ -156,7 +156,7 @@ describe("subscription screen helpers", () => {
selectedPlan: {
id: "coin_1000",
coins: 1000,
price: "9.90",
price: "9.9",
currency: "US$",
},
vipPlans: [],
@@ -164,7 +164,7 @@ describe("subscription screen helpers", () => {
{
id: "coin_1000",
coins: 1000,
price: "9.90",
price: "9.9",
currency: "US$",
},
],