mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 14:38:33 +00:00
Fix video duration rendering issue.
This commit is contained in:
parent
5a6d339a89
commit
3cedadbb97
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user