Skip to content

Commit

Permalink
fix(aniskip/seekbar): Show stamps and increase thumb size (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samfun75 authored Jul 29, 2023
1 parent ed6744f commit 15c04b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 15c04b4

Please sign in to comment.