2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 10128
|
|
|
|
|
// Function ID: 10129
|
|
|
|
|
// Name: InAppNotificationActionCreators
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 10128 (InAppNotificationActionCreators)
|
|
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default {
|
2026-07-30 10:14:41 +00:00
|
|
|
enqueueNotification(buildResult) {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult });
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
clearNotification() {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.wait(() => {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
};
|