33 lines
880 B
TypeScript
33 lines
880 B
TypeScript
// Module ID: 9511
|
|
// Function ID: 9512
|
|
// Name: isAlertOrActionSheetOpen
|
|
// Dependencies: [3882, 9512, 4530, 2]
|
|
// Exports: isAlertOrActionSheetOpen
|
|
|
|
// Module 9511 (isAlertOrActionSheetOpen)
|
|
import setContent from "setContent";
|
|
import getAlert from "getAlert";
|
|
|
|
const require = arg1;
|
|
const result = require("useAlertStore").fileFinishedImporting("components_native/chat/isAlertOrActionSheetOpen.tsx");
|
|
|
|
export const isAlertOrActionSheetOpen = function isAlertOrActionSheetOpen(selectedChannelId) {
|
|
let obj = arg1;
|
|
if (arg1 === undefined) {
|
|
obj = setContent;
|
|
}
|
|
let obj2 = arg2;
|
|
if (arg2 === undefined) {
|
|
obj2 = getAlert;
|
|
}
|
|
let tmp = null != obj.getContent();
|
|
const useAlertStore = require(4530) /* useAlertStore */.useAlertStore;
|
|
const tmp2 = null != obj2.getAlert();
|
|
if (!tmp) {
|
|
tmp = tmp2;
|
|
}
|
|
if (!tmp) {
|
|
tmp = tmp3;
|
|
}
|
|
return tmp;
|
|
};
|