diff --git a/common/app/model/PressedCard.scala b/common/app/model/PressedCard.scala index 26f357b63cca..ec9bedd8b808 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 }