2026-10-09 10:00:15 +00:00
|
|
|
// Module ID: 6664
|
|
|
|
|
// Function ID: 6665
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: useKeyboardDuration
|
2026-10-09 10:00:15 +00:00
|
|
|
// Dependencies: [1500, 1382, 1501, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getKeyboardDuration
|
|
|
|
|
|
2026-10-09 10:00:15 +00:00
|
|
|
// Module 6664 (useKeyboardDuration)
|
|
|
|
|
import PlatformUtils from "PlatformUtils" /* 1382 */;
|
|
|
|
|
import AppEntryKeyContext from "AppEntryKeyContext" /* 1500 */;
|
|
|
|
|
import KeyboardUIStoreDefault from "KeyboardUIStore" /* 1501 */;
|
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/useKeyboardDuration.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getKeyboardDuration = function getKeyboardDuration() {
|
|
|
|
|
let DEFAULT_APP_ENTRY_KEY = arg0;
|
|
|
|
|
if (arg0 === undefined) {
|
2026-09-10 05:38:07 +00:00
|
|
|
DEFAULT_APP_ENTRY_KEY = AppEntryKeyContext.DEFAULT_APP_ENTRY_KEY;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
let num = 300;
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = PlatformUtils;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (!obj.isAndroid()) {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj2 = KeyboardUIStoreDefault;
|
|
|
|
|
num = obj2.getState().byAppEntry[DEFAULT_APP_ENTRY_KEY].keyboardDuration;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
return num;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|