30 lines
968 B
TypeScript
30 lines
968 B
TypeScript
// Module ID: 9324
|
|
// Function ID: 9325
|
|
// Name: isVideoBackgroundEnabled
|
|
// Dependencies: [9325, 1369, 9326, 2]
|
|
// Exports: default
|
|
|
|
// Module 9324 (isVideoBackgroundEnabled)
|
|
import PlatformUtils from "PlatformUtils" /* 1369 */;
|
|
import isVideoBackgroundSupportedDefault from "isVideoBackgroundSupported" /* 9325 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let tmp;
|
|
const VirtualBackgroundsIosExperimentDefault = tmp(9326);
|
|
const result = size.fileFinishedImporting("modules/video_backgrounds/isVideoBackgroundEnabled.tsx");
|
|
|
|
export default function isVideoBackgroundEnabled(location) {
|
|
let tmp3 = isVideoBackgroundSupportedDefault();
|
|
if (tmp3) {
|
|
const obj = PlatformUtils;
|
|
const isIOSResult = obj.isIOS();
|
|
let enabled = !isIOSResult;
|
|
if (isIOSResult) {
|
|
const obj2 = { location };
|
|
const tmpResult = VirtualBackgroundsIosExperimentDefault;
|
|
enabled = tmpResult.getConfig(obj2).enabled;
|
|
}
|
|
tmp3 = enabled;
|
|
}
|
|
return tmp3;
|
|
};
|