Skip to content
Snippets Groups Projects
Commit b1051391 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Audio player now displays the remaining time if user chose it

Fixes #2935
parent c8a2c7fc
No related branches found
No related tags found
1 merge request!1729Audio player now displays the remaining time if user chose it
Pipeline #343054 passed with stage
in 4 minutes and 2 seconds
......@@ -447,7 +447,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher, IAudioPlay
if (!previewingSeek) {
val displayTime = progress.timeText
binding.headerTime.text = displayTime
binding.headerTime.text = if (showRemainingTime) Tools.millisToString(progress.time - progress.length) else displayTime
binding.time.text = displayTime
if (!isDragging) binding.timeline.progress = progress.time.toInt()
binding.progressBar.progress = progress.time.toInt()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment