decord/stable/source/components_native/chat/isAlertOrActionSheetOpen.tsx
github-actions e2bc0408ee chore: update source for stable 346.13
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-22 22:11:40 +00:00

35 lines
959 B
TypeScript

// Module ID: 11677
// Function ID: 11678
// Name: isAlertOrActionSheetOpen
// Dependencies: [4327, 11678, 4982, 2]
// Exports: isAlertOrActionSheetOpen
// Module 11677 (isAlertOrActionSheetOpen)
import useAlertStore2 from "useAlertStore" /* 4982 */;
import ActionSheetStore from "ActionSheetStore" /* 4327 */;
import AlertStore from "AlertStore" /* 11678 */;
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;
};