Reader hotkeys
This commit is contained in:
@@ -14,11 +14,14 @@ import { useReaderStateMangaContext } from '@/modules/reader/contexts/state/Read
|
||||
import { ReaderService } from '@/modules/reader/services/ReaderService.ts';
|
||||
import { ReaderSettingsTabs } from '@/modules/reader/components/settings/ReaderSettingsTabs.tsx';
|
||||
import { ReaderSettingTab } from '@/modules/reader/constants/ReaderSettings.constants.tsx';
|
||||
import { useDisableAllHotkeysWhileMounted } from '@/modules/hotkeys/Hotkeys.utils.ts';
|
||||
|
||||
export const ReaderSettings = ({ isOpen, close }: { isOpen: boolean; close: () => void }) => {
|
||||
const { manga } = useReaderStateMangaContext();
|
||||
const settings = ReaderService.useSettings();
|
||||
|
||||
useDisableAllHotkeysWhileMounted();
|
||||
|
||||
const [activeTab, setActiveTab] = useState(0);
|
||||
|
||||
if (!manga) {
|
||||
|
||||
Reference in New Issue
Block a user