2026-09-25 08:38:05 +00:00
|
|
|
// Module ID: 5886
|
|
|
|
|
// Function ID: 5887
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useCustomKeyboardHeight
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1481, 1482, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, getCustomKeyboardHeight
|
|
|
|
|
|
2026-09-25 08:38:05 +00:00
|
|
|
// Module 5886 (useCustomKeyboardHeight)
|
2026-09-15 14:23:42 +00:00
|
|
|
import AppEntryKeyContext from "AppEntryKeyContext" /* 1481 */;
|
|
|
|
|
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1482 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/useCustomKeyboardHeight.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function useCustomKeyboardHeight() {
|
2026-09-10 05:38:07 +00:00
|
|
|
closure_0 = AppEntryKeyContext.useAppEntryKey();
|
|
|
|
|
return KeyboardUIStoreDefault((arg0) => arg0.byAppEntry[closure_0].customKeyboardHeight);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export const getCustomKeyboardHeight = function getCustomKeyboardHeight(appEntryKey) {
|
|
|
|
|
let DEFAULT_APP_ENTRY_KEY = appEntryKey;
|
|
|
|
|
if (appEntryKey === undefined) {
|
|
|
|
|
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
return KeyboardUIStoreDefault.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].customKeyboardHeight;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|