Skip to content

Commit

Permalink
tweak minutes and seconds get logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed Dec 23, 2024
1 parent 0cc485d commit 77bb275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/app/model/PressedCard.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 77bb275

Please sign in to comment.