mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
7
utils/atoms/orientation.ts
Normal file
7
utils/atoms/orientation.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import * as ScreenOrientation from "expo-screen-orientation";
|
||||
import { Orientation } from "expo-screen-orientation";
|
||||
import { atom } from "jotai";
|
||||
|
||||
export const orientationAtom = atom<number>(
|
||||
ScreenOrientation.OrientationLock.PORTRAIT_UP
|
||||
);
|
||||
Reference in New Issue
Block a user