mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Implement count-down in inline player.
This commit is contained in:
committed by
Cody Henthorne
parent
3ac395d33e
commit
14484deabe
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user