Fixed empty audio fade duration dialog

This commit is contained in:
Prathamesh More 2022-01-18 22:05:48 +05:30
parent af4347c4ff
commit 5fba286afb
3 changed files with 4 additions and 7 deletions

View file

@ -53,7 +53,7 @@ class DurationPreferenceDialog : DialogFragment() {
return materialDialog(R.string.audio_fade_duration)
.setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(R.string.save) { _, _ -> updateDuration(binding.slider.value.toInt()) }
.setView(view)
.setView(binding.root)
.create()
.colorButtons()
}