Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
21 lines
654 B
TypeScript
21 lines
654 B
TypeScript
// Module ID: 11502
|
|
// Function ID: 11503
|
|
// Name: subscribeToWindowDimensions
|
|
// Dependencies: [1479, 2]
|
|
// Exports: default
|
|
|
|
// Module 11502 (subscribeToWindowDimensions)
|
|
import DimensionsStore from "DimensionsStore" /* 1479 */;
|
|
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/screen/subscribeToWindowDimensions.native.tsx");
|
|
|
|
export default function subscribeToWindowDimensions(arg0) {
|
|
closure_0 = arg0;
|
|
if (arg1 === undefined) {
|
|
const str = "main";
|
|
}
|
|
return DimensionsStore.subscribe((arg0) => {
|
|
closure_0(arg0.byAppEntry[str].windowDimensions, arg0.byAppEntry[str].windowDimensionsIgnoringKeyboard);
|
|
});
|
|
};
|