🚑 Hot fix thumbnail duration issue

This commit is contained in:
LittleSheep 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(

View File

@ -2,7 +2,7 @@ name: solian
description: "The Solar Network App"
publish_to: "none"
version: 1.2.1+33
version: 1.2.1+34
environment:
sdk: ">=3.3.4 <4.0.0"