[Manatoki] changed mangaListing scroll behavior to instant
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
||||
<provider
|
||||
android:authorities="xyz.quaver.pupil.fileprovider"
|
||||
android:authorities="${applicationId}.fileprovider"
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
|
||||
@@ -535,7 +535,7 @@ class Manatoki(app: Application) : Source(), DIAware {
|
||||
|
||||
val targetIndex = it.entries.indexOfFirst { it.itemID == itemID }
|
||||
|
||||
listState.animateScrollToItem(targetIndex)
|
||||
listState.scrollToItem(targetIndex)
|
||||
|
||||
mangaListingListSize?.let { sheetSize ->
|
||||
val targetItem = listState.layoutInfo.visibleItemsInfo.first {
|
||||
|
||||
Reference in New Issue
Block a user