decord/source/components_native/chat/isAlertOrActionSheetOpen.tsx

36 lines
959 B
TypeScript
Raw Normal View History

// Module ID: 11575
// Function ID: 11576
2026-07-20 16:05:17 +00:00
// Name: isAlertOrActionSheetOpen
// Dependencies: [4264, 11576, 4920, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAlertOrActionSheetOpen
// Module 11575 (isAlertOrActionSheetOpen)
import useAlertStore2 from "useAlertStore" /* 4920 */;
import ActionSheetStore from "ActionSheetStore" /* 4264 */;
import AlertStore from "AlertStore" /* 11576 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("components_native/chat/isAlertOrActionSheetOpen.tsx");
2026-07-20 16:05:17 +00:00
export const isAlertOrActionSheetOpen = function isAlertOrActionSheetOpen(selectedChannelId) {
let obj = arg1;
if (arg1 === undefined) {
obj = ActionSheetStore;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let obj2 = arg2;
if (arg2 === undefined) {
obj2 = AlertStore;
2026-07-20 16:05:17 +00:00
}
let tmp = null != obj.getContent();
2026-08-24 06:08:38 +00:00
const useAlertStore = useAlertStore2.useAlertStore;
2026-07-20 16:05:17 +00:00
const tmp2 = null != obj2.getAlert();
if (!tmp) {
tmp = tmp2;
}
if (!tmp) {
tmp = tmp3;
}
return tmp;
};