decord/alpha/source/modules/keyboard/native/openCustomKeyboard.android.tsx
github-actions 52331fb8ae chore: update source for alpha 349.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
2026-09-30 07:29:52 +00:00

32 lines
1.3 KiB
TypeScript

// Module ID: 11714
// Function ID: 11715
// Name: openCustomKeyboard
// Dependencies: [1483, 6655, 4734, 11673, 2]
// Exports: default
// Module 11714 (openCustomKeyboard)
import KeyboardUIStore from "KeyboardUIStore" /* 1483 */;
import PortalKeyboardUIStore from "PortalKeyboardUIStore" /* 4734 */;
import RunAfterInteractionsUtils from "RunAfterInteractionsUtils" /* 6655 */;
import ChatInputNativeCommandsDefault from "ChatInputNativeCommands" /* 11673 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/keyboard/native/openCustomKeyboard.android.tsx");
export default function openCustomKeyboard(secondaryTextFieldRef) {
({ channelId: require, chatInputRef: importDefault, chatInputNativeRef: dependencyMap, keyboardParams } = secondaryTextFieldRef);
secondaryTextFieldRef = secondaryTextFieldRef.secondaryTextFieldRef;
KeyboardUIStore.setKeyboardType(keyboardParams);
RunAfterInteractionsUtils.runAfterInteractions(() => {
const current = ref.current;
current.blur();
if (secondaryTextFieldRef != null) {
const current2 = secondaryTextFieldRef.current;
if (current2 != null) {
current2.blur();
}
}
PortalKeyboardUIStore.openPortalKeyboard(keyboardParams.type, closure_1_0, ref);
ChatInputNativeCommandsDefault.openCustomKeyboard(ref2.current);
});
};