Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
BottomSheet: Reset slider's value to 0 when stopping
Browse files Browse the repository at this point in the history
Signed-off-by: Shinjo Akane <akane@akanework.org>
  • Loading branch information
AkaneTan committed Jul 16, 2023
1 parent d5c59e8 commit 40b75a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/org/akanework/symphonica/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ class MainActivity : AppCompatActivity() {
ContextCompat.getDrawable(SymphonicaApplication.context, R.drawable.ic_sheet_play)
fullSheetControlButton.icon = ContextCompat.getDrawable(SymphonicaApplication.context, R.drawable.ic_sheet_play)
fullSheetSlider.isEnabled = false
fullSheetSlider.value = 0f
setPlaybackState(OPERATION_PAUSE)
checkIfSquigglyProgressBarEnabled()
if (musicPlayer != null) {
Expand Down

0 comments on commit 40b75a4

Please sign in to comment.