19 lines
699 B
TypeScript
19 lines
699 B
TypeScript
// Metro module 13909 (f13910).
|
|
import { FAMILY_CENTER_REQUEST_QR_CODE_URL } from "../FamilyCenterConstants";
|
|
import { showShareActionSheet } from "../../action_sheet/native/showShareActionSheet";
|
|
import { intl } from "../../../intl/index.native";
|
|
import FamilyCenter_messages from "../FamilyCenter.messages";
|
|
export function shareGuardianConnectLink(a0, a1) {
|
|
const url = FAMILY_CENTER_REQUEST_QR_CODE_URL(a0.id, a1);
|
|
let globalName = a0.globalName;
|
|
if (globalName == null) {
|
|
globalName = a0.username;
|
|
}
|
|
showShareActionSheet({
|
|
message: intl.formatToPlainString(FamilyCenter_messages.lVD5Nd, {
|
|
username: globalName,
|
|
url
|
|
})
|
|
}, "Family Center Connect Guardian");
|
|
}
|