Cleanup Slider usage

This commit is contained in:
AntsyLich
2024-10-26 07:05:56 +06:00
parent aae0e3459c
commit df9fff60da
5 changed files with 74 additions and 28 deletions

View File

@@ -401,7 +401,7 @@ class ReaderActivity : BaseActivity() {
enabledPrevious = state.viewerChapters?.prevChapter != null,
currentPage = state.currentPage,
totalPages = state.totalPages,
onSliderValueChange = {
onPageIndexChange = {
isScrollingThroughPages = true
moveToPageIndex(it)
},