decord/source/1653_controlEdgeToEdgeValues.js

33 lines
913 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1653
// Function ID: 1654
2026-07-29 08:29:29 +00:00
// Name: controlEdgeToEdgeValues
// Dependencies: [17]
// Exports: controlEdgeToEdgeValues, isEdgeToEdge
2026-08-15 05:55:55 +00:00
// Module 1653 (controlEdgeToEdgeValues)
2026-08-24 06:08:38 +00:00
import closure_0 from "get ActivityIndicator" /* 17 */;
2026-07-29 08:29:29 +00:00
export (arg0) => {
}
export const isEdgeToEdge = () => {
2026-08-24 06:08:38 +00:00
TurboModuleRegistry = TurboModuleRegistry.TurboModuleRegistry;
2026-07-29 08:29:29 +00:00
let tmp2 = null != TurboModuleRegistry.get("RNEdgeToEdge");
if (!tmp2) {
2026-08-24 06:08:38 +00:00
const TurboModuleRegistry2 = TurboModuleRegistry.TurboModuleRegistry;
2026-07-29 08:29:29 +00:00
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;
};