diff --git a/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx b/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx index cf43f35b..43f8933e 100644 --- a/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx +++ b/apps/readest-app/src/app/reader/components/settings/DialogMenu.tsx @@ -2,6 +2,7 @@ import React from 'react'; import { MdCheck } from 'react-icons/md'; import { useSettingsStore } from '@/store/settingsStore'; import { useTranslation } from '@/hooks/useTranslation'; +import { useDefaultIconSize } from '@/hooks/useResponsiveSize'; interface DialogMenuProps { toggleDropdown?: () => void; @@ -9,6 +10,7 @@ interface DialogMenuProps { const DialogMenu: React.FC = ({ toggleDropdown }) => { const _ = useTranslation(); + const iconSize = useDefaultIconSize(); const { isFontLayoutSettingsGlobal, setFontLayoutSettingsGlobal } = useSettingsStore(); const handleToggleGlobal = () => { @@ -26,7 +28,7 @@ const DialogMenu: React.FC = ({ toggleDropdown }) => { onClick={handleToggleGlobal} >
- + {isFontLayoutSettingsGlobal && }
= ({ }) => { const _ = useTranslation(); const iconSize16 = useResponsiveSize(16); + const defaultIconSize = useDefaultIconSize(); return (