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

29 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 15820
// Function ID: 15821
2026-07-20 16:05:17 +00:00
// Name: showPushNotificationPromptModal
2026-09-02 09:53:35 +00:00
// Dependencies: [12202, 12467, 4723, 15821, 2008, 12205, 2]
2026-07-20 16:05:17 +00:00
// Exports: showPushNotificationPromptModal
2026-09-02 09:53:35 +00:00
// Module 15820 (showPushNotificationPromptModal)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-01 10:26:29 +00:00
import _modDef4723 from "module_4723" /* 4723 */;
2026-09-02 09:53:35 +00:00
import set2 from "set" /* 12202 */;
import NewUserTypes from "NewUserTypes" /* 12467 */;
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;
2026-09-01 10:26:29 +00:00
let obj = _modDef4723;
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();
}
};
2026-09-02 09:53:35 +00:00
obj.pushLazy(onComplete(2008)(15821, dependencyMap.paths), obj, closure_4);
const result = onComplete(12205).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
2026-07-20 16:05:17 +00:00
};