Added reset in Playback speed dialog
This commit is contained in:
parent
456ecebef3
commit
508bfde5cb
2 changed files with 8 additions and 2 deletions
|
@ -14,8 +14,8 @@ android {
|
|||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
applicationId "code.name.monkey.retromusic"
|
||||
versionCode 10558
|
||||
versionName '5.6.2'
|
||||
versionCode 10559
|
||||
versionName '5.6.3'
|
||||
|
||||
buildConfigField("String", "GOOGLE_PLAY_LICENSING_KEY", "\"${getProperty(getProperties('../public.properties'), 'GOOGLE_PLAY_LICENSE_KEY')}\"")
|
||||
}
|
||||
|
|
|
@ -34,6 +34,12 @@ class PlaybackSpeedDialog : DialogFragment() {
|
|||
binding.playbackPitchSlider.value
|
||||
)
|
||||
}
|
||||
.setNeutralButton(R.string.reset_action) {_, _ ->
|
||||
updatePlaybackAndPitch(
|
||||
1F,
|
||||
1F
|
||||
)
|
||||
}
|
||||
.setView(binding.root)
|
||||
.create()
|
||||
.colorButtons()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue