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

22 lines
659 B
TypeScript
Raw Normal View History

2026-08-28 06:19:39 +00:00
// Module ID: 11497
// Function ID: 11498
2026-07-20 16:05:17 +00:00
// Name: subscribeToWindowDimensions
2026-08-15 05:55:55 +00:00
// Dependencies: [1495, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-28 06:19:39 +00:00
// Module 11497 (subscribeToWindowDimensions)
2026-08-24 06:08:38 +00:00
import closure_0 from "getDimensionsStoreStateForEntry" /* 1495 */;
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
});
};