From 77bb275553bdd6e2bca1c8e3192de02301af112d Mon Sep 17 00:00:00 2001 From: Georges Lebreton <102960844+Georges-GNM@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:09:42 +0000 Subject: [PATCH] tweak minutes and seconds get logic --- common/app/model/PressedCard.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/model/PressedCard.scala b/common/app/model/PressedCard.scala index 26f357b63cc..ec9bedd8b80 100644 --- a/common/app/model/PressedCard.scala +++ b/common/app/model/PressedCard.scala @@ -75,7 +75,7 @@ object PressedCard { val seconds = audioDurationSeconds(fc) if (minutes.isDefined || seconds.isDefined) { - val duration = minutes.get.headOption.toString + ":" + seconds.get.headOption.toString + val duration = minutes.get.headOption.get.toString + ":" + seconds.get.headOption.get.toString Some(duration) } else None }