diff --git a/apps/readest-app/.claude/skills/gstack b/apps/readest-app/.claude/skills/gstack index 6169273d..dbd7aee5 160000 --- a/apps/readest-app/.claude/skills/gstack +++ b/apps/readest-app/.claude/skills/gstack @@ -1 +1 @@ -Subproject commit 6169273d16b7ab8690943241fa802e5a1ca85305 +Subproject commit dbd7aee5b6b5bb41b17ae7747568e2fda8a91d77 diff --git a/apps/readest-app/src/app/reader/components/footerbar/DesktopFooterBar.tsx b/apps/readest-app/src/app/reader/components/footerbar/DesktopFooterBar.tsx index cecd2e1a..24bf19d9 100644 --- a/apps/readest-app/src/app/reader/components/footerbar/DesktopFooterBar.tsx +++ b/apps/readest-app/src/app/reader/components/footerbar/DesktopFooterBar.tsx @@ -4,12 +4,12 @@ import { FaHeadphones } from 'react-icons/fa6'; import { RiArrowLeftSLine, RiArrowRightSLine } from 'react-icons/ri'; import { RiArrowGoBackLine, RiArrowGoForwardLine } from 'react-icons/ri'; import { RiArrowLeftDoubleLine, RiArrowRightDoubleLine } from 'react-icons/ri'; -import { getNavigationIcon, getNavigationLabel, getNavigationHandler } from './utils'; import { useReaderStore } from '@/store/readerStore'; import { useTranslation } from '@/hooks/useTranslation'; import { useBookDataStore } from '@/store/bookDataStore'; -import { FooterBarChildProps } from './types'; import { formatProgress } from '@/utils/progress'; +import { FooterBarChildProps } from './types'; +import { getNavigationIcon } from './utils'; import Button from '@/components/Button'; const DesktopFooterBar: React.FC = ({ @@ -86,23 +86,15 @@ const DesktopFooterBar: React.FC = ({ , , )} - onClick={getNavigationHandler( - viewSettings?.rtl, - navigationHandlers.onPrevSection, - navigationHandlers.onNextSection, - )} - label={getNavigationLabel(viewSettings?.rtl, _('Previous Section'), _('Next Section'))} + onClick={navigationHandlers.onPrevSection} + label={_('Previous Section')} /> )} {!viewSettings?.showPaginationButtons && (