21 lines
659 B
TypeScript
21 lines
659 B
TypeScript
// Module ID: 12034
|
|
// Function ID: 12035
|
|
// Name: subscribeToWindowDimensions
|
|
// Dependencies: [1478, 2]
|
|
// Exports: default
|
|
|
|
// Module 12034 (subscribeToWindowDimensions)
|
|
import closure_0 from "getDimensionsStoreStateForEntry" /* 1478 */;
|
|
|
|
const result = require("set").fileFinishedImporting("modules/screen/subscribeToWindowDimensions.native.tsx");
|
|
|
|
export default function subscribeToWindowDimensions(arg0) {
|
|
closure_0 = arg0;
|
|
let str = arg1;
|
|
if (arg1 === undefined) {
|
|
str = "main";
|
|
}
|
|
return closure_0.subscribe((arg0) => {
|
|
callback(arg0.byAppEntry[str].windowDimensions, arg0.byAppEntry[str].windowDimensionsIgnoringKeyboard);
|
|
});
|
|
};
|