decord/alpha/source/modules/screen/subscribeToWindowDimensions.native.tsx

22 lines
654 B
TypeScript
Raw Normal View History

// Module ID: 12376
// Function ID: 12377
2026-07-20 16:05:17 +00:00
// Name: subscribeToWindowDimensions
// Dependencies: [1479, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 12376 (subscribeToWindowDimensions)
import DimensionsStore from "DimensionsStore" /* 1479 */;
2026-07-20 16:05:17 +00:00
const size = fn(2);
const result = size.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
if (arg1 === undefined) {
const str = "main";
2026-07-20 16:05:17 +00:00
}
return DimensionsStore.subscribe((arg0) => {
closure_0(arg0.byAppEntry[str].windowDimensions, arg0.byAppEntry[str].windowDimensionsIgnoringKeyboard);
2026-07-20 16:05:17 +00:00
});
};