22 lines
1.4 KiB
TypeScript
22 lines
1.4 KiB
TypeScript
/* Metro module 5464; source: modules/keyboard/native/useKeyboardDuration.tsx; dependencies: [1481, 477, 1482, 2] */
|
|
function _fun48040(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#48040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5642:6, offset: 0x011d8089, size: 101 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/keyboard/native/useKeyboardDuration.tsx');
|
|
exports.getKeyboardDuration = getKeyboardDuration;
|
|
}
|
|
|
|
function getKeyboardDuration() { // fn#48041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5642:195, offset: 0x011d80ee, size: 127 bytes, params: 1, frame: 14
|
|
var keyboardDuration;
|
|
let value = a0;
|
|
if ((require(477) /* metro dependency 477: PlatformUtils */).isAndroid()) {
|
|
keyboardDuration = 300;
|
|
} else {
|
|
value = importDefault(1482) /* metro dependency 1482: KeyboardUIStoreNative */;
|
|
keyboardDuration = value.getState().byAppEntry[value !== undefined ? value : (require(1481) /* metro dependency 1481: AppEntryKeyContext */).DEFAULT_APP_ENTRY_KEY].keyboardDuration;
|
|
}
|
|
return keyboardDuration;
|
|
}
|
|
|