🚑 Hot fix thumbnail duration issue

This commit is contained in:
2024-09-10 23:52:10 +08:00
parent 2ff142a84f
commit 133213b430
2 changed files with 3 additions and 2 deletions

View File

@ -286,7 +286,8 @@ class _AttachmentItemVideoState extends State<_AttachmentItemVideo> {
Text(
Duration(
milliseconds:
(widget.item.metadata?['duration'] ?? 0) *
(widget.item.metadata?['duration'] ?? 0)
.toInt() *
1000,
).toHumanReadableString(),
style: GoogleFonts.robotoMono(