decord/alpha/source/components_native/chat/isAlertOrActionSheetOpen.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

35 lines
959 B
TypeScript

// Module ID: 11025
// Function ID: 11026
// Name: isAlertOrActionSheetOpen
// Dependencies: [4518, 11026, 5198, 2]
// Exports: isAlertOrActionSheetOpen
// Module 11025 (isAlertOrActionSheetOpen)
import useAlertStore2 from "useAlertStore" /* 5198 */;
import ActionSheetStore from "ActionSheetStore" /* 4518 */;
import AlertStore from "AlertStore" /* 11026 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("components_native/chat/isAlertOrActionSheetOpen.tsx");
export const isAlertOrActionSheetOpen = function isAlertOrActionSheetOpen(selectedChannelId) {
let obj = arg1;
if (arg1 === undefined) {
obj = ActionSheetStore;
}
let obj2 = arg2;
if (arg2 === undefined) {
obj2 = AlertStore;
}
let tmp = null != obj.getContent();
const useAlertStore = useAlertStore2.useAlertStore;
const tmp2 = null != obj2.getAlert();
if (!tmp) {
tmp = tmp2;
}
if (!tmp) {
tmp = tmp3;
}
return tmp;
};