mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-09 07:29:52 +00:00
Merge pull request #4566 from nextcloud/fix/noid/ktlint
fix(ktlint): correct code formatting
This commit is contained in:
commit
afd1187115
@ -1826,8 +1826,9 @@ class ChatActivity :
|
||||
if (mediaPlayer != null) {
|
||||
if (message.isPlayingVoiceMessage) {
|
||||
val pos = mediaPlayer!!.currentPosition.toFloat() / VOICE_MESSAGE_SEEKBAR_BASE
|
||||
if (pos + VOICE_MESSAGE_PLAY_ADD_THRESHOLD < (mediaPlayer!!.duration.toFloat() /
|
||||
VOICE_MESSAGE_SEEKBAR_BASE)
|
||||
if (pos + VOICE_MESSAGE_PLAY_ADD_THRESHOLD < (
|
||||
mediaPlayer!!.duration.toFloat() / VOICE_MESSAGE_SEEKBAR_BASE
|
||||
)
|
||||
) {
|
||||
lastRecordMediaPosition = mediaPlayer!!.currentPosition
|
||||
message.voiceMessagePlayedSeconds = pos.toInt()
|
||||
|
Loading…
Reference in New Issue
Block a user