decord/source/1581_controlEdgeToEdgeValues.js

33 lines
953 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1581
2026-07-25 08:10:48 +00:00
// Function ID: 17681
2026-07-20 16:05:17 +00:00
// Name: controlEdgeToEdgeValues
2026-07-23 10:11:24 +00:00
// Dependencies: [57, 27]
2026-07-20 16:05:17 +00:00
// Exports: controlEdgeToEdgeValues, isEdgeToEdge
// Module 1581 (controlEdgeToEdgeValues)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray";
import get_ActivityIndicator from "get ActivityIndicator";
2026-07-20 16:05:17 +00:00
export function controlEdgeToEdgeValues(arg0) {
}
export const isEdgeToEdge = function isEdgeToEdge() {
2026-07-23 10:11:24 +00:00
const TurboModuleRegistry = get_ActivityIndicator.TurboModuleRegistry;
2026-07-20 16:05:17 +00:00
let tmp = null != TurboModuleRegistry.get("RNEdgeToEdge");
if (!tmp) {
2026-07-23 10:11:24 +00:00
const TurboModuleRegistry2 = get_ActivityIndicator.TurboModuleRegistry;
2026-07-20 16:05:17 +00:00
const value = TurboModuleRegistry2.get("DeviceInfo");
let getConstants;
if (null != value) {
getConstants = value.getConstants;
}
let isEdgeToEdge;
if (null != getConstants) {
isEdgeToEdge = getConstants.call(value).isEdgeToEdge;
}
tmp = true === isEdgeToEdge;
}
return tmp;
};