decord/source/modules/quests/native/BountiesModal/BountyCtaHelpers.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

19 lines
673 B
TypeScript

// Module ID: 15043
// Function ID: 15044
// Name: getBountyCtaInfo
// Dependencies: [1114, 2]
// Exports: getBountyCtaInfo
// Module 15043 (getBountyCtaInfo)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
const result = set.fileFinishedImporting("modules/quests/native/BountiesModal/BountyCtaHelpers.tsx");
export const getBountyCtaInfo = function getBountyCtaInfo(bounty) {
const obj = { label: bounty.productName, subtext: bounty.cta.buttonLabel, buttonLabel: null, iconImageUri: null };
const intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t.LLLLPD);
obj[3] = bounty.productIcon;
return obj;
};