2026-09-28 16:18:32 +00:00
|
|
|
// Module ID: 15623
|
|
|
|
|
// Function ID: 15624
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: showPushNotificationPromptModal
|
2026-09-28 16:18:32 +00:00
|
|
|
// Dependencies: [11902, 12202, 5039, 15624, 1981, 11905, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: showPushNotificationPromptModal
|
|
|
|
|
|
2026-09-28 16:18:32 +00:00
|
|
|
// Module 15623 (showPushNotificationPromptModal)
|
|
|
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5039 */;
|
|
|
|
|
import PushNotificationPermissionStore from "PushNotificationPermissionStore" /* 11902 */;
|
|
|
|
|
import NUFConstants from "NUFConstants" /* 12202 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const PermissionStateType = PushNotificationPermissionStore.PermissionStateType;
|
|
|
|
|
let closure_4 = NUFConstants.NUF_NOTIFICATION_MODAL_KEY;
|
|
|
|
|
let result = size.fileFinishedImporting("modules/nuf/native/showPushNotificationPromptModal.tsx");
|
|
|
|
|
|
|
|
|
|
export const showPushNotificationPromptModal = function showPushNotificationPromptModal(onComplete) {
|
|
|
|
|
onComplete = onComplete.onComplete;
|
2026-09-28 16:18:32 +00:00
|
|
|
ModalActionCreatorsDefault.pushLazy(onComplete(1981)(15624, dependencyMap.paths), {
|
2026-09-18 19:45:33 +00:00
|
|
|
onComplete() {
|
|
|
|
|
ModalActionCreatorsDefault.popWithKey(closure_4);
|
|
|
|
|
onComplete();
|
|
|
|
|
}
|
|
|
|
|
}, closure_4);
|
|
|
|
|
const obj2 = {
|
|
|
|
|
onComplete() {
|
|
|
|
|
ModalActionCreatorsDefault.popWithKey(closure_4);
|
|
|
|
|
onComplete();
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-09-28 16:18:32 +00:00
|
|
|
const result = onComplete(11905).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|