From 626d9e76eaaa06881ee2b5430d75c9b078cb99f0 Mon Sep 17 00:00:00 2001 From: CD-Z Date: Tue, 11 Jun 2024 22:11:19 +0200 Subject: [PATCH] fix: hide progressbar --- src/screens/reader/ReaderScreen.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/reader/ReaderScreen.tsx b/src/screens/reader/ReaderScreen.tsx index ad77a638a..89e5d1eb8 100644 --- a/src/screens/reader/ReaderScreen.tsx +++ b/src/screens/reader/ReaderScreen.tsx @@ -291,8 +291,8 @@ export const ChapterContent = ({ const openDrawer = useCallback(() => { drawerRef.current?.openDrawer(); - setHidden(true); - }, [drawerRef]); + hideHeader(); + }, [drawerRef, hideHeader]); if (loading) { return ;