decord/source/modules/nuf/native/showPushNotificationPromptModal.tsx

25 lines
952 B
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 14783
// Function ID: 112767
2026-07-20 16:05:17 +00:00
// Name: showPushNotificationPromptModal
2026-07-23 10:11:24 +00:00
// Dependencies: [11448, 11734, 4337, 14784, 1934, 11451, 2]
2026-07-20 16:05:17 +00:00
// Exports: showPushNotificationPromptModal
2026-07-23 10:11:24 +00:00
// Module 14783 (showPushNotificationPromptModal)
import { PermissionStateType } from "_isNativeReflectConstruct";
import { NUF_NOTIFICATION_MODAL_KEY as closure_4 } from "NewUserTypes";
let result = require("module_4337").fileFinishedImporting("modules/nuf/native/showPushNotificationPromptModal.tsx");
2026-07-20 16:05:17 +00:00
export const showPushNotificationPromptModal = function showPushNotificationPromptModal(onComplete) {
2026-07-23 10:11:24 +00:00
onComplete = onComplete.onComplete;
let obj = importDefault(4337);
2026-07-20 16:05:17 +00:00
obj = {
onComplete() {
2026-07-23 10:11:24 +00:00
outer1_1(outer1_2[2]).popWithKey(outer1_4);
2026-07-20 16:05:17 +00:00
onComplete();
}
};
2026-07-23 10:11:24 +00:00
obj.pushLazy(onComplete(1934)(14784, dependencyMap.paths), obj, closure_4);
const result = onComplete(11451).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
2026-07-20 16:05:17 +00:00
};