Added reset in Playback speed dialog

This commit is contained in:
Prathamesh More 2022-01-07 19:59:10 +05:30
parent 456ecebef3
commit 508bfde5cb
2 changed files with 8 additions and 2 deletions

View file

@ -34,6 +34,12 @@ class PlaybackSpeedDialog : DialogFragment() {
binding.playbackPitchSlider.value
)
}
.setNeutralButton(R.string.reset_action) {_, _ ->
updatePlaybackAndPitch(
1F,
1F
)
}
.setView(binding.root)
.create()
.colorButtons()