diff --git a/src/features/reader/overlay/navigation/desktop/components/ReaderNavBarDesktopChapterNavigation.tsx b/src/features/reader/overlay/navigation/desktop/components/ReaderNavBarDesktopChapterNavigation.tsx index c8884c24..8e7492a9 100644 --- a/src/features/reader/overlay/navigation/desktop/components/ReaderNavBarDesktopChapterNavigation.tsx +++ b/src/features/reader/overlay/navigation/desktop/components/ReaderNavBarDesktopChapterNavigation.tsx @@ -26,6 +26,7 @@ import { ReaderControls } from '@/features/reader/services/ReaderControls.ts'; import type { ReaderStateChapters } from '@/features/reader/Reader.types.ts'; import { withPropsFrom } from '@/base/hoc/withPropsFrom.tsx'; import type { ChapterIdInfo } from '@/features/chapter/Chapter.types.ts'; +import { useTheme } from '@mui/material/styles'; const BaseReaderNavBarDesktopChapterNavigation = ({ currentChapterId, @@ -43,6 +44,7 @@ const BaseReaderNavBarDesktopChapterNavigation = ({ readerThemeDirection: ReturnType; }) => { const { t } = useLingui(); + const theme = useTheme(); const popupState = usePopupState({ variant: 'popover', popupId: 'reader-nav-bar-desktop-chapter-list' }); @@ -60,7 +62,7 @@ const BaseReaderNavBarDesktopChapterNavigation = ({ }} disabled={getOptionForDirection(!previousChapter, !nextChapter, readerThemeDirection)} /> - + {t`Chapter`}