13 lines
576 B
TypeScript
13 lines
576 B
TypeScript
// Metro module 10423 (f10424).
|
|
import * as _AppEntryKeyContext from "../window/native/AppEntryKeyContext";
|
|
import SafeAreaStore_native from "./SafeAreaStore.native";
|
|
export default function subscribeToSafeAreaInsets(c17945_0, r6 = _AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY) {
|
|
const DEFAULT_APP_ENTRY_KEY = r6;
|
|
return SafeAreaStore_native.subscribe((a0, a1) => {
|
|
const safeAreaInsets = a0.byAppEntry[DEFAULT_APP_ENTRY_KEY].safeAreaInsets;
|
|
if (safeAreaInsets !== a1.byAppEntry[DEFAULT_APP_ENTRY_KEY].safeAreaInsets) {
|
|
c17945_0(safeAreaInsets);
|
|
}
|
|
});
|
|
};
|