2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 10595
|
|
|
|
|
// Function ID: 82589
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: doesOrientationMatchLockState
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4156, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 10595 (doesOrientationMatchLockState)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { OrientationLockState } from "items3";
|
|
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/native/doesOrientationMatchLockState.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
};
|