Reapply "fix: #104 #103 #102"

This reverts commit 6c1db4bbb9.

fix #104 fix #102 fix #103
This commit is contained in:
Fredrik Burmester
2024-08-30 00:13:58 +02:00
parent 6c1db4bbb9
commit 55b1c3ae45
3 changed files with 31 additions and 22 deletions

View 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
);