fix(aniskip/seekbar): Show stamps and increase thumb size (#1087)

This commit is contained in:
Samfun75 2023-07-29 21:55:01 +03:00 committed by GitHub
parent ed6744f768
commit 15c04b48ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1432,7 +1432,7 @@ class PlayerActivity : BaseActivity() {
// aniSkip stuff
waitingAniSkip = playerPreferences.waitingTimeAniSkip().get()
runBlocking {
if (!aniSkipEnable) {
if (aniSkipEnable) {
aniSkipInterval = viewModel.aniSkipResponse(player.duration)
aniSkipInterval?.let {
aniskipStamps = it

View file

@ -72,7 +72,7 @@ class Seekbar(
val interactionSource = remember { MutableInteractionSource() }
val isDragging by interactionSource.collectIsDraggedAsState()
val gap by animateDpAsState(if (isDragging) 5.dp else 2.dp, label = "gap")
val thumbRadius by animateDpAsState(if (isDragging) 8.dp else 4.dp, label = "thumbRadius")
val thumbRadius by animateDpAsState(if (isDragging) 10.dp else 8.dp, label = "thumbRadius")
val trackHeight by animateDpAsState(targetValue = if (isDragging) 6.dp else 4.dp, label = "trackHeight")
return Seeker(
value = value,