diff --git a/lib/widgets/attachments/attachment_item.dart b/lib/widgets/attachments/attachment_item.dart index fd744ce..18a3243 100644 --- a/lib/widgets/attachments/attachment_item.dart +++ b/lib/widgets/attachments/attachment_item.dart @@ -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( diff --git a/pubspec.yaml b/pubspec.yaml index 312fc9a..6eaa6d1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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"