decord/source/modules/parent_tools/native/shareGuardianConnectLink.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 14907
// Function ID: 14908
// Name: shareGuardianConnectLink
// Dependencies: [7552, 8389, 1114, 2396, 2]
// Exports: shareGuardianConnectLink
// Module 14907 (shareGuardianConnectLink)
import util from "util" /* 1114 */;
import _modDef2396 from "module_2396" /* 2396 */;
import FamilyCenterConstants from "FamilyCenterConstants" /* 7552 */;
import showShareActionSheet from "showShareActionSheet" /* 8389 */;
import size from "module_2" /* 2 */;
let closure_3 = FamilyCenterConstants.FAMILY_CENTER_REQUEST_QR_CODE_URL;
const result = size.fileFinishedImporting("modules/parent_tools/native/shareGuardianConnectLink.tsx");
export const shareGuardianConnectLink = function shareGuardianConnectLink(stateFromStores, linkCode) {
let username = stateFromStores.globalName;
if (username == null) {
username = stateFromStores.username;
}
const tmp = closure_3(stateFromStores.id, linkCode);
const obj2 = { message: null };
const intl = util.intl;
obj2.message = intl.formatToPlainString(_modDef2396.lVD5Nd, { username, url: tmp });
showShareActionSheet.showShareActionSheet(obj2, "Family Center Connect Guardian");
};