@dubsdotapp/expo 0.2.38 → 0.2.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4325,6 +4325,7 @@ function ClaimPrizeSheet({
4325
4325
  onDismiss,
4326
4326
  gameId,
4327
4327
  prizeAmount,
4328
+ isRefund = false,
4328
4329
  onSuccess,
4329
4330
  onError
4330
4331
  }) {
@@ -4409,7 +4410,7 @@ function ClaimPrizeSheet({
4409
4410
  children: /* @__PURE__ */ jsx14(View12, { style: styles11.sheetPositioner, children: /* @__PURE__ */ jsxs12(View12, { style: [styles11.sheet, { backgroundColor: t.background }], children: [
4410
4411
  /* @__PURE__ */ jsx14(View12, { style: styles11.handleRow, children: /* @__PURE__ */ jsx14(View12, { style: [styles11.handle, { backgroundColor: t.textMuted }] }) }),
4411
4412
  /* @__PURE__ */ jsxs12(View12, { style: styles11.header, children: [
4412
- /* @__PURE__ */ jsx14(Text12, { style: [styles11.headerTitle, { color: t.text }], children: showCelebration ? "Prize Claimed!" : "Claim Prize" }),
4413
+ /* @__PURE__ */ jsx14(Text12, { style: [styles11.headerTitle, { color: t.text }], children: showCelebration ? isRefund ? "Refund Claimed!" : "Prize Claimed!" : isRefund ? "Claim Refund" : "Claim Prize" }),
4413
4414
  /* @__PURE__ */ jsx14(TouchableOpacity8, { onPress: onDismiss, activeOpacity: 0.8, children: /* @__PURE__ */ jsx14(Text12, { style: [styles11.closeButton, { color: t.textMuted }], children: "\u2715" }) })
4414
4415
  ] }),
4415
4416
  showCelebration && /* @__PURE__ */ jsxs12(
@@ -4429,13 +4430,13 @@ function ClaimPrizeSheet({
4429
4430
  prizeAmount,
4430
4431
  " SOL"
4431
4432
  ] }),
4432
- /* @__PURE__ */ jsx14(Text12, { style: [styles11.celebrationSubtext, { color: t.textMuted }], children: "Winnings sent to your wallet" })
4433
+ /* @__PURE__ */ jsx14(Text12, { style: [styles11.celebrationSubtext, { color: t.textMuted }], children: isRefund ? "Refund sent to your wallet" : "Winnings sent to your wallet" })
4433
4434
  ]
4434
4435
  }
4435
4436
  ),
4436
4437
  !showCelebration && /* @__PURE__ */ jsxs12(View12, { style: [styles11.summaryCard, { backgroundColor: t.surface, borderColor: t.border }], children: [
4437
4438
  /* @__PURE__ */ jsxs12(View12, { style: styles11.summaryRow, children: [
4438
- /* @__PURE__ */ jsx14(Text12, { style: [styles11.summaryLabel, { color: t.textMuted }], children: "Prize" }),
4439
+ /* @__PURE__ */ jsx14(Text12, { style: [styles11.summaryLabel, { color: t.textMuted }], children: isRefund ? "Refund" : "Prize" }),
4439
4440
  /* @__PURE__ */ jsxs12(Text12, { style: [styles11.summaryValue, { color: t.success }], children: [
4440
4441
  prizeAmount,
4441
4442
  " SOL"
@@ -4473,7 +4474,8 @@ function ClaimPrizeSheet({
4473
4474
  /* @__PURE__ */ jsx14(ActivityIndicator7, { size: "small", color: "#FFFFFF" }),
4474
4475
  /* @__PURE__ */ jsx14(Text12, { style: styles11.ctaText, children: statusLabel })
4475
4476
  ] }) : /* @__PURE__ */ jsxs12(Text12, { style: [styles11.ctaText, !canClaim && { opacity: 0.5 }], children: [
4476
- "Claim Prize \u2014 ",
4477
+ isRefund ? "Claim Refund" : "Claim Prize",
4478
+ " \u2014 ",
4477
4479
  prizeAmount,
4478
4480
  " SOL"
4479
4481
  ] })