diff --git a/src/pages/LecturesPage.tsx b/src/pages/LecturesPage.tsx index a83498a..370a66b 100644 --- a/src/pages/LecturesPage.tsx +++ b/src/pages/LecturesPage.tsx @@ -3,6 +3,7 @@ import { useNavigate } from 'react-router-dom'; import { Document, Page, pdfjs } from 'react-pdf'; import { useLanguage } from '../i18n/LanguageContext'; import { fonts, radius } from '../styles/theme'; +import { haptic } from '../haptic'; import { getLectures, type LectureListItem } from '../api'; // pdf.js worker + cMaps (для кириллицы и польских букв) @@ -78,6 +79,8 @@ const LecturesPage: React.FC = () => { }; const handleOpenLecture = (lecture: LectureListItem) => { + // 🔧 ФИКС (01.10.2026): haptic_lectures — открытие лекции + haptic.selection(); setActiveLecture(lecture); setPageNumber(1); setNumPages(0); @@ -94,6 +97,8 @@ const LecturesPage: React.FC = () => { }; const handleDownloadLecture = (lecture: LectureListItem) => { + // 🔧 ФИКС (01.10.2026): haptic_lectures — скачивание + haptic.medium(); const url = getFileUrl(lecture); if (window.Telegram?.WebApp?.downloadFile) { @@ -205,6 +210,7 @@ const LecturesPage: React.FC = () => { }} >