Implement count-down in inline player.

fork-5.53.8
Alex Hart 2021-07-07 16:02:47 -03:00 zatwierdzone przez Cody Henthorne
rodzic 3ac395d33e
commit 14484deabe
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -113,7 +113,7 @@ class VoiceNotePlayerView @JvmOverloads constructor(
animateToggleToPause()
}
infoView.text = context.getString(R.string.VoiceNotePlayerView__s_dot_s, state.name, formatDuration(state.playbackDuration))
infoView.text = context.getString(R.string.VoiceNotePlayerView__s_dot_s, state.name, formatDuration(state.playbackDuration - state.playbackPosition))
speedView.setCurrentSpeed(state.playbackSpeed)
}