From 6080f9e0f36eb6a4ffe12f37ad8afd37ebf3a363 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Wed, 7 May 2025 19:50:40 +0800 Subject: [PATCH] fix: revert to unlock screen orientation for library page, closes #1063 (#1084) --- apps/readest-app/src/app/library/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/readest-app/src/app/library/page.tsx b/apps/readest-app/src/app/library/page.tsx index 46e7578a..3968e77b 100644 --- a/apps/readest-app/src/app/library/page.tsx +++ b/apps/readest-app/src/app/library/page.tsx @@ -121,7 +121,7 @@ const LibraryPageContent = ({ searchParams }: { searchParams: ReadonlyURLSearchP useEffect(() => { if (appService?.isMobileApp) { - lockScreenOrientation({ orientation: 'portrait' }); + lockScreenOrientation({ orientation: 'auto' }); } }, [appService]);