session-android/app/src/main/java/org
Ninad Bhuiyan 95298bb9e3
Fix voice message duration view (#948)
The seconds for a voice message duration, and also its decreasing duration when played, were just the total duration of the audio. So, a 3 minute audio would appear as 3:180 at the audio's right, and 2:170 for example when said audio is being played.

I added a modulo operator for 60 after the time millisecond to seconds conversion, just before setting it as viewable text, same for the progress function.
2022-12-19 10:53:03 +11:00
..
thoughtcrime/securesms Fix voice message duration view (#948) 2022-12-19 10:53:03 +11:00