28 lines
720 B
JavaScript
28 lines
720 B
JavaScript
// Module ID: 1618
|
|
// Function ID: 1619
|
|
// Name: initialWindowMetrics
|
|
// Dependencies: [1619]
|
|
|
|
// Module 1618 (initialWindowMetrics)
|
|
import importDefaultResult from "RNCSafeAreaContext";
|
|
|
|
let initialWindowMetrics;
|
|
if (importDefaultResult != null) {
|
|
const getConstants = importDefaultResult.getConstants;
|
|
if (getConstants != null) {
|
|
const constants = getConstants();
|
|
if (constants != null) {
|
|
initialWindowMetrics = constants.initialWindowMetrics;
|
|
}
|
|
}
|
|
}
|
|
if (initialWindowMetrics == null) {
|
|
initialWindowMetrics = null;
|
|
}
|
|
let insets;
|
|
if (initialWindowMetrics != null) {
|
|
insets = initialWindowMetrics.insets;
|
|
}
|
|
|
|
export { initialWindowMetrics };
|
|
export const initialWindowSafeAreaInsets = insets;
|