Commit c6515e42 authored by ValdikSS's avatar ValdikSS
Browse files

[preview] Fix: Multimedia playback timer shows >60 seconds in a minute

Fixes gajim#10581
parent 0bc30915
......@@ -940,8 +940,8 @@ class AudioWidget(Gtk.Box):
minutes = seconds / 60
hours = minutes / 60
i_seconds = int(seconds)
i_minutes = int(minutes)
i_seconds = int(seconds) % 60
i_minutes = int(minutes) % 60
i_hours = int(hours)
if i_hours > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment