decord/source/modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx

28 lines
987 B
TypeScript
Raw Normal View History

2026-08-03 11:20:01 +00:00
// Module ID: 15786
// Function ID: 15787
2026-07-20 16:05:17 +00:00
// Name: set
2026-08-03 11:20:01 +00:00
// Dependencies: [676, 10799, 4465, 2]
2026-07-20 16:05:17 +00:00
// Exports: shouldExcludeSafeAreaForModalKey
2026-08-03 11:20:01 +00:00
// Module 15786 (set)
2026-07-23 10:11:24 +00:00
import OAUTH2_AUTHORIZE_MODAL_KEY from "OAUTH2_AUTHORIZE_MODAL_KEY";
2026-07-29 08:29:29 +00:00
import set from "openChannelCallModal";
2026-07-23 10:11:24 +00:00
const items = [require("ME").MEDIA_MODAL_KEY, , , ];
({ OAUTH2_AUTHORIZE_MODAL_KEY: arr[1], OAUTH2_SUCCESS_RESULT_MODAL_KEY: arr[2], OAUTH2_ERROR_RESULT_MODAL_KEY: arr[3] } = OAUTH2_AUTHORIZE_MODAL_KEY);
let set = new Set(items);
const result = set.fileFinishedImporting("modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx");
2026-07-20 16:05:17 +00:00
export const shouldExcludeSafeAreaForModalKey = function shouldExcludeSafeAreaForModalKey(key) {
let tmp = null != key;
if (tmp) {
2026-08-03 11:20:01 +00:00
let hasItem = require(4465) /* openChannelCallModal */.isVoiceChannelModalKey(key);
2026-07-29 08:29:29 +00:00
if (!hasItem) {
2026-07-20 16:05:17 +00:00
hasItem = set.has(key);
}
tmp = hasItem;
2026-08-03 11:20:01 +00:00
const obj = require(4465) /* openChannelCallModal */;
2026-07-20 16:05:17 +00:00
}
return tmp;
};