decord/source/modules/safe_area/shouldExcludeSafeAreaForModalKey.native.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

29 lines
1.2 KiB
TypeScript

// Module ID: 17025
// Function ID: 17026
// Name: shouldExcludeSafeAreaForModalKey
// Dependencies: [1074, 9706, 8485, 4846, 2]
// Exports: shouldExcludeSafeAreaForModalKey
// Module 17025 (shouldExcludeSafeAreaForModalKey)
import Constants2 from "Constants" /* 1074 */;
import PrivateChannelCallUtils from "PrivateChannelCallUtils" /* 4846 */;
import SharePreparingModalConstants from "SharePreparingModalConstants" /* 8485 */;
import Constants from "Constants" /* 9706 */;
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;
};