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

29 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 15922
// Function ID: 15923
2026-07-20 16:05:17 +00:00
// Name: showPushNotificationPromptModal
// Dependencies: [12341, 12637, 4731, 15923, 2008, 12344, 2]
2026-07-20 16:05:17 +00:00
// Exports: showPushNotificationPromptModal
// Module 15922 (showPushNotificationPromptModal)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import _modDef4731 from "module_4731" /* 4731 */;
import set2 from "set" /* 12341 */;
import NewUserTypes from "NewUserTypes" /* 12637 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const PermissionStateType = set2.PermissionStateType;
let closure_4 = NewUserTypes.NUF_NOTIFICATION_MODAL_KEY;
let result = set.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 = _modDef4731;
2026-07-20 16:05:17 +00:00
obj = {
onComplete() {
2026-08-24 06:08:38 +00:00
closure_1_1(closure_1_2[2]).popWithKey(closure_1_4);
2026-07-20 16:05:17 +00:00
onComplete();
}
};
obj.pushLazy(onComplete(2008)(15923, dependencyMap.paths), obj, closure_4);
const result = onComplete(12344).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
2026-07-20 16:05:17 +00:00
};