decord/alpha/source/components_native/chat/isAlertOrActionSheetOpen.tsx

36 lines
959 B
TypeScript
Raw Normal View History

// Module ID: 11025
// Function ID: 11026
2026-07-20 16:05:17 +00:00
// Name: isAlertOrActionSheetOpen
// Dependencies: [4518, 11026, 5198, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAlertOrActionSheetOpen
// Module 11025 (isAlertOrActionSheetOpen)
import useAlertStore2 from "useAlertStore" /* 5198 */;
import ActionSheetStore from "ActionSheetStore" /* 4518 */;
import AlertStore from "AlertStore" /* 11026 */;
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;
};