decord/source/modules/parent_tools/native/shareGuardianConnectLink.tsx

24 lines
956 B
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 13844
// Function ID: 106119
2026-07-20 16:05:17 +00:00
// Name: shareGuardianConnectLink
2026-07-25 08:10:48 +00:00
// Dependencies: [5766, 8134, 1212, 2199, 2]
2026-07-20 16:05:17 +00:00
// Exports: shareGuardianConnectLink
2026-07-27 11:26:19 +00:00
// Module 13844 (shareGuardianConnectLink)
2026-07-23 10:11:24 +00:00
import { FAMILY_CENTER_REQUEST_QR_CODE_URL as closure_3 } from "items";
const result = require("getSystemLocale").fileFinishedImporting("modules/parent_tools/native/shareGuardianConnectLink.tsx");
2026-07-20 16:05:17 +00:00
export const shareGuardianConnectLink = function shareGuardianConnectLink(stateFromStores, linkCode) {
let username = stateFromStores.globalName;
if (null == username) {
username = stateFromStores.username;
}
2026-07-25 08:10:48 +00:00
let obj = require(8134) /* showShareActionSheet */;
2026-07-20 16:05:17 +00:00
obj = {};
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-20 16:05:17 +00:00
obj = { username, url: callback(stateFromStores.id, linkCode) };
2026-07-25 08:10:48 +00:00
obj.message = intl.formatToPlainString(importDefault(2199).lVD5Nd, obj);
2026-07-20 16:05:17 +00:00
obj.showShareActionSheet(obj, "Family Center Connect Guardian");
};