27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
// Module ID: 14881
|
|
// Function ID: 14882
|
|
// Name: shareGuardianConnectLink
|
|
// Dependencies: [7538, 8361, 1114, 2396, 2]
|
|
// Exports: shareGuardianConnectLink
|
|
|
|
// Module 14881 (shareGuardianConnectLink)
|
|
import set from "set" /* 2 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
import messagesProxyDefault from "messagesProxy" /* 2396 */;
|
|
import items from "items" /* 7538 */;
|
|
import showShareActionSheet from "showShareActionSheet" /* 8361 */;
|
|
|
|
let closure_3 = items.FAMILY_CENTER_REQUEST_QR_CODE_URL;
|
|
const result = set.fileFinishedImporting("modules/parent_tools/native/shareGuardianConnectLink.tsx");
|
|
|
|
export const shareGuardianConnectLink = function shareGuardianConnectLink(globalName, linkCode) {
|
|
let username = globalName.globalName;
|
|
if (username == null) {
|
|
username = globalName.username;
|
|
}
|
|
let obj = showShareActionSheet;
|
|
obj = { message: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[0] = intl.formatToPlainString(messagesProxyDefault.lVD5Nd, { username, url: callback(globalName.id, linkCode) });
|
|
obj.showShareActionSheet(obj, "Family Center Connect Guardian");
|
|
};
|