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