Fix video duration rendering issue.

This commit is contained in:
Greyson Parrelli 2020-02-08 10:58:12 -05:00
parent 5a6d339a89
commit 3cedadbb97

View file

@ -107,7 +107,7 @@ class AttachmentKeyboardMediaAdapter extends RecyclerView.Adapter<AttachmentKeyb
time -= TimeUnit.HOURS.toMillis(hours); time -= TimeUnit.HOURS.toMillis(hours);
long minutes = TimeUnit.MILLISECONDS.toMinutes(time); long minutes = TimeUnit.MILLISECONDS.toMinutes(time);
time -= TimeUnit.MINUTES.toHours(time); time -= TimeUnit.MINUTES.toMillis(minutes);
long seconds = TimeUnit.MILLISECONDS.toSeconds(time); long seconds = TimeUnit.MILLISECONDS.toSeconds(time);