Move to telephoto 0.10.0-SNAPSHOT

This commit is contained in:
GG Bond authored and renovate[bot] committed 2024-04-07 21:21:37 +08:00
1 parent 4a02189a59
commit 26f96d3e38
2 files changed
+1 -11

No files matched your search

@@ -28,7 +28,6 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.BlendMode
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.pointer.util.VelocityTrackerAddPointsFix
import androidx.compose.ui.res.colorResource
import com.hippo.ehviewer.R
import com.hippo.ehviewer.Settings
@@ -57,15 +56,6 @@ import moe.tarsin.kt.unreachable
@Destination<RootGraph>
@Composable
fun ReaderScreen(info: BaseGalleryInfo, page: Int = -1, navigator: DestinationsNavigator) = composing(navigator) {
// Workaround for incorrect fling velocity on zoom gesture end
// https://github.com/saket/telephoto/issues/71
DisposableEffect(Unit) {
VelocityTrackerAddPointsFix = false
onDispose {
VelocityTrackerAddPointsFix = true
}
}
LockDrawer(true)
ConfigureKeepScreenOn()
val pageLoader = remember {
+1 -1
View File
@@ -28,7 +28,7 @@ ksp = "2.0.0-Beta5-1.0.20"
ktor = "3.0.0-beta-1"
okio = "3.9.0"
splitties = "3.0.0"
telephoto = "0.9.0"
telephoto = "0.10.0-SNAPSHOT"
xmlutil = "0.86.3"
[libraries]