Skip to content

Commit 02f98b2

Browse files
committed
修复播放器音量调节提示未延迟消失
1 parent 41ec947 commit 02f98b2

File tree

1 file changed

+2
-2
lines changed
  • player/mobile/src/main/kotlin/dev/aaa1115910/bv/player/mobile/controller

1 file changed

+2
-2
lines changed

player/mobile/src/main/kotlin/dev/aaa1115910/bv/player/mobile/controller/Tips.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fun BrightnessTip(
135135

136136
val displayProgress by animateFloatAsState(
137137
targetValue = progress,
138-
label = "VolumeTipProgress"
138+
label = "BrightnessTipProgress"
139139
)
140140
val showValue by rememberUpdatedState(show)
141141
var showTip by remember { mutableStateOf(false) }
@@ -226,7 +226,7 @@ fun VolumeTip(
226226
}
227227
}
228228

229-
if (show) {
229+
if (showTip) {
230230
Box(
231231
modifier = modifier
232232
.fillMaxSize()

0 commit comments

Comments
 (0)