mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
fix(ktlint): correct code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
144ccc4106
commit
62d1eeafce
@ -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