28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
// Module ID: 15358
|
|
// Function ID: 15359
|
|
// Name: showPushNotificationPromptModal
|
|
// Dependencies: [11973, 12261, 4611, 15359, 2009, 11976, 2]
|
|
// Exports: showPushNotificationPromptModal
|
|
|
|
// Module 15358 (showPushNotificationPromptModal)
|
|
import set from "set" /* 2 */;
|
|
import _modDef4611 from "module_4611" /* 4611 */;
|
|
import set2 from "set" /* 11973 */;
|
|
import NewUserTypes from "NewUserTypes" /* 12261 */;
|
|
|
|
const PermissionStateType = set2.PermissionStateType;
|
|
let closure_4 = NewUserTypes.NUF_NOTIFICATION_MODAL_KEY;
|
|
let result = set.fileFinishedImporting("modules/nuf/native/showPushNotificationPromptModal.tsx");
|
|
|
|
export const showPushNotificationPromptModal = function showPushNotificationPromptModal(onComplete) {
|
|
onComplete = onComplete.onComplete;
|
|
let obj = _modDef4611;
|
|
obj = {
|
|
onComplete() {
|
|
closure_1_1(closure_1_2[2]).popWithKey(closure_1_4);
|
|
onComplete();
|
|
}
|
|
};
|
|
obj.pushLazy(onComplete(2009)(15359, dependencyMap.paths), obj, closure_4);
|
|
const result = onComplete(11976).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
|
|
};
|