mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Merge pull request #659 from hjubb/fix_audio_player_icon
Fix Voice Message Icon Bug
This commit is contained in:
commit
e2b07f1151
@ -79,7 +79,9 @@ class VoiceMessageView : LinearLayout, AudioSlidePlayer.Listener {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPlayerStart(player: AudioSlidePlayer) {}
|
||||
override fun onPlayerStart(player: AudioSlidePlayer) {
|
||||
isPlaying = true
|
||||
}
|
||||
|
||||
override fun onPlayerProgress(player: AudioSlidePlayer, progress: Double, unused: Long) {
|
||||
if (progress == 1.0) {
|
||||
@ -102,7 +104,6 @@ class VoiceMessageView : LinearLayout, AudioSlidePlayer.Listener {
|
||||
}
|
||||
|
||||
override fun onPlayerStop(player: AudioSlidePlayer) {
|
||||
Log.d("Loki", "Player stopped")
|
||||
isPlaying = false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user