decord/source/modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

29 lines
1.2 KiB
TypeScript

// Module ID: 16987
// Function ID: 16988
// Name: shouldExcludeSafeAreaForModalKey
// Dependencies: [1074, 9704, 8482, 4843, 2]
// Exports: shouldExcludeSafeAreaForModalKey
// Module 16987 (shouldExcludeSafeAreaForModalKey)
import Constants2 from "Constants" /* 1074 */;
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4843 */;
import SharePreparingModalConstants from "SharePreparingModalConstants" /* 8482 */;
import Constants from "Constants" /* 9704 */;
import size from "module_2" /* 2 */;
({ OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_ERROR_RESULT_MODAL_KEY, OAUTH2_SUCCESS_RESULT_MODAL_KEY } = Constants);
const items = [Constants2.MEDIA_MODAL_KEY, OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_SUCCESS_RESULT_MODAL_KEY, OAUTH2_ERROR_RESULT_MODAL_KEY, SharePreparingModalConstants.SHARE_PREPARING_MODAL_KEY];
const set = new Set(items);
const result = size.fileFinishedImporting("modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx");
export const shouldExcludeSafeAreaForModalKey = function shouldExcludeSafeAreaForModalKey(key) {
let tmp = null != key;
if (tmp) {
let hasItem = PrivateChannelCallUtils.isVoiceChannelModalKey(key);
if (!hasItem) {
hasItem = set.has(key);
}
tmp = hasItem;
}
return tmp;
};