26 lines
1.4 KiB
TypeScript
26 lines
1.4 KiB
TypeScript
/* Metro module 15398; source: modules/frames/native/getDefaultOrientationLockState.tsx; dependencies: [10703, 694, 2] */
|
|
function _fun117697(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117697, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15595:6, offset: 0x024be314, size: 103 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/frames/native/getDefaultOrientationLockState.tsx');
|
|
exports.setOrientationLockState = setOrientationLockState_117698;
|
|
}
|
|
|
|
function setOrientationLockState_117698(a0, a1) { // fn#117698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15595:208, offset: 0x024be37b, size: 116 bytes, params: 3, frame: 14
|
|
var r3;
|
|
let value = a1;
|
|
if (value != null) {
|
|
r3 = value;
|
|
} else {
|
|
value = require(10703) /* metro dependency 10703: getDefaultOrientationLockState */;
|
|
value = value.getDefaultOrientationLockState(a0);
|
|
r3 = value;
|
|
}
|
|
if (r3 != null) {
|
|
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'FRAME_SET_ORIENTATION_LOCK_STATE',
|
|
applicationId: a0.id, lockState: r3});
|
|
}
|
|
}
|
|
|