Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,48 @@
|
||||
/* Metro module 1848; source: utils/native/KeyboardManagerUtils.tsx; dependencies: [27, 477, 1849, 2] */
|
||||
function _fun20000(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#20000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1975:6, offset: 0x00ebc0a1, size: 144 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).NativeModules;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/native/KeyboardManagerUtils.tsx');
|
||||
exports.dismissGlobalKeyboard = dismissGlobalKeyboard;
|
||||
exports.clearCurrentFocusAndDismissKeyboard = clearCurrentFocusAndDismissKeyboard;
|
||||
exports.onKeyboardChanged = onKeyboardChanged;
|
||||
}
|
||||
|
||||
function dismissGlobalKeyboard() { // fn#20001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1975:215, offset: 0x00ebc131, size: 115 bytes, params: 1, frame: 13
|
||||
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
if ((importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */) != null) {
|
||||
(importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */).dismissGlobalKeyboard();
|
||||
}
|
||||
} else {
|
||||
NativeModules.KeyboardManager.dismissGlobalKeyboard();
|
||||
}
|
||||
}
|
||||
|
||||
function clearCurrentFocusAndDismissKeyboard() { // fn#20002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1975:396, offset: 0x00ebc1a4, size: 93 bytes, params: 1, frame: 13
|
||||
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
if ((importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */) != null) {
|
||||
(importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */).clearCurrentFocusAndDismissKeyboard();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onKeyboardChanged(a0) { // fn#20003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1975:548, offset: 0x00ebc201, size: 150 bytes, params: 2, frame: 13
|
||||
var KeyboardManager;
|
||||
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
if ((importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */) != null) {
|
||||
(importDefault(1849) /* metro dependency 1849: NativeKeyboardModule */).onKeyboardChanged(a0);
|
||||
}
|
||||
} else {
|
||||
KeyboardManager = NativeModules.KeyboardManager;
|
||||
if (KeyboardManager.onKeyboardChanged != null) {
|
||||
KeyboardManager = NativeModules.KeyboardManager;
|
||||
KeyboardManager.onKeyboardChanged(global.open);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user