2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 12038
|
|
|
|
|
// Function ID: 12039
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: subscribeToWindowDimensions
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1478, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 12038 (subscribeToWindowDimensions)
|
2026-09-05 10:56:28 +00:00
|
|
|
import closure_0 from "getDimensionsStoreStateForEntry" /* 1478 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/screen/subscribeToWindowDimensions.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function subscribeToWindowDimensions(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = arg0;
|
2026-07-20 16:05:17 +00:00
|
|
|
let str = arg1;
|
|
|
|
|
if (arg1 === undefined) {
|
|
|
|
|
str = "main";
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_0.subscribe((arg0) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
callback(arg0.byAppEntry[str].windowDimensions, arg0.byAppEntry[str].windowDimensionsIgnoringKeyboard);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
};
|