32 lines
784 B
TypeScript
32 lines
784 B
TypeScript
// Module ID: 10596
|
|
// Function ID: 82594
|
|
// Name: doesOrientationMatchLockState
|
|
// Dependencies: [4156, 2]
|
|
// Exports: default
|
|
|
|
// Module 10596 (doesOrientationMatchLockState)
|
|
import { OrientationLockState } from "items3";
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/native/doesOrientationMatchLockState.tsx");
|
|
|
|
export default function doesOrientationMatchLockState(arg0, arg1) {
|
|
let tmp = arg0;
|
|
let tmp2 = null == arg1;
|
|
if (!tmp2) {
|
|
tmp2 = arg1 === OrientationLockState.UNLOCKED;
|
|
}
|
|
if (!tmp2) {
|
|
let tmp4 = !tmp;
|
|
if (tmp4) {
|
|
tmp4 = arg1 === OrientationLockState.PORTRAIT;
|
|
}
|
|
tmp2 = tmp4;
|
|
}
|
|
if (!tmp2) {
|
|
if (tmp) {
|
|
tmp = arg1 === OrientationLockState.LANDSCAPE;
|
|
}
|
|
tmp2 = tmp;
|
|
}
|
|
return tmp2;
|
|
};
|