mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2025-06-05 21:59:31 +02:00
Merge pull request #90 from Aga-C/prevent-autoplay
Prevented autoplay of the next recording on delete (#37)
This commit is contained in:
@ -274,7 +274,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
|
|||||||
override fun playRecording(recording: Recording, playOnPrepared: Boolean) {
|
override fun playRecording(recording: Recording, playOnPrepared: Boolean) {
|
||||||
resetProgress(recording)
|
resetProgress(recording)
|
||||||
(recordings_list.adapter as RecordingsAdapter).updateCurrentRecording(recording.id)
|
(recordings_list.adapter as RecordingsAdapter).updateCurrentRecording(recording.id)
|
||||||
playOnPreparation = playOnPrepared || getIsPlaying()
|
playOnPreparation = playOnPrepared
|
||||||
|
|
||||||
player!!.apply {
|
player!!.apply {
|
||||||
reset()
|
reset()
|
||||||
|
Reference in New Issue
Block a user