2026-09-02 09:53:35 +00:00
|
|
|
// Module ID: 9628
|
|
|
|
|
// Function ID: 9629
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: subscribeToSafeAreaInsets
|
2026-09-02 09:53:35 +00:00
|
|
|
// Dependencies: [1495, 1628, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-02 09:53:35 +00:00
|
|
|
// Module 9628 (subscribeToSafeAreaInsets)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const result = set.fileFinishedImporting("modules/safe_area/subscribeToSafeAreaInsets.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function subscribeToSafeAreaInsets(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = arg0;
|
2026-07-29 08:29:29 +00:00
|
|
|
let DEFAULT_APP_ENTRY_KEY = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (arg1 === undefined) {
|
2026-09-02 09:53:35 +00:00
|
|
|
DEFAULT_APP_ENTRY_KEY = _require(1495).DEFAULT_APP_ENTRY_KEY;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-02 09:53:35 +00:00
|
|
|
return DEFAULT_APP_ENTRY_KEY(1628).subscribe((arg0, arg1) => {
|
2026-07-29 08:29:29 +00:00
|
|
|
const safeAreaInsets = arg0.byAppEntry[DEFAULT_APP_ENTRY_KEY].safeAreaInsets;
|
|
|
|
|
if (safeAreaInsets !== arg1.byAppEntry[DEFAULT_APP_ENTRY_KEY].safeAreaInsets) {
|
|
|
|
|
callback(safeAreaInsets);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|