decord/source/1653_controlEdgeToEdgeValues.js
2026-08-24 06:08:38 +00:00

32 lines
913 B
JavaScript

// Module ID: 1653
// Function ID: 1654
// Name: controlEdgeToEdgeValues
// Dependencies: [17]
// Exports: controlEdgeToEdgeValues, isEdgeToEdge
// Module 1653 (controlEdgeToEdgeValues)
import closure_0 from "get ActivityIndicator" /* 17 */;
export (arg0) => {
}
export const isEdgeToEdge = () => {
TurboModuleRegistry = TurboModuleRegistry.TurboModuleRegistry;
let tmp2 = null != TurboModuleRegistry.get("RNEdgeToEdge");
if (!tmp2) {
const TurboModuleRegistry2 = TurboModuleRegistry.TurboModuleRegistry;
const value = TurboModuleRegistry2.get("DeviceInfo");
let getConstants;
if (null != value) {
getConstants = value.getConstants;
}
if (null == getConstants) {
tmp2 = true === undefined;
} else {
const call = getConstants.call;
const isEdgeToEdge = typeof call === "unknown" ? getConstants() : call(value).isEdgeToEdge;
}
}
return tmp2;
};