9 lines
572 B
TypeScript
9 lines
572 B
TypeScript
// Metro module 15699 (f15700).
|
|
import { MEDIA_MODAL_KEY } from "../../Constants";
|
|
import { OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_SUCCESS_RESULT_MODAL_KEY, OAUTH2_ERROR_RESULT_MODAL_KEY } from "../oauth2/native/Constants";
|
|
import { isVoiceChannelModalKey } from "../../utils/native/PrivateChannelCallUtils";
|
|
let c11212_2 = new Set([MEDIA_MODAL_KEY, OAUTH2_AUTHORIZE_MODAL_KEY, OAUTH2_SUCCESS_RESULT_MODAL_KEY, OAUTH2_ERROR_RESULT_MODAL_KEY]);
|
|
export function shouldExcludeSafeAreaForModalKey(a0) {
|
|
return a0 != null && (!!isVoiceChannelModalKey(a0) || c11212_2.has(a0));
|
|
}
|