decord/source/components_native/chat/isAlertOrActionSheetOpen.tsx

35 lines
927 B
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 11104
// Function ID: 11105
2026-07-20 16:05:17 +00:00
// Name: isAlertOrActionSheetOpen
2026-08-25 06:04:03 +00:00
// Dependencies: [4090, 11105, 4746, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAlertOrActionSheetOpen
2026-08-25 06:04:03 +00:00
// Module 11104 (isAlertOrActionSheetOpen)
import useAlertStore2 from "useAlertStore" /* 4746 */;
import closure_2 from "setContent" /* 4090 */;
import closure_3 from "getAlert" /* 11105 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const result = require("set").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) {
2026-08-24 06:08:38 +00:00
obj = closure_2;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let obj2 = arg2;
if (arg2 === undefined) {
2026-08-24 06:08:38 +00:00
obj2 = closure_3;
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;
};