Loading app/src/main/java/org/lineageos/twelve/models/Lyrics.kt +0 −15 Original line number Diff line number Diff line Loading @@ -34,21 +34,6 @@ data class Lyrics( private val lines = mutableListOf<TempLine>() /** * Add a new line. * * @param line The [Line] */ fun addLine(line: Line) = apply { lines.add( TempLine( text = line.text, startMs = line.durationMs?.first, endMs = line.durationMs?.last, ) ) } /** * Add a new line. If necessary, end instant will be calculated from the other lines. * Loading Loading
app/src/main/java/org/lineageos/twelve/models/Lyrics.kt +0 −15 Original line number Diff line number Diff line Loading @@ -34,21 +34,6 @@ data class Lyrics( private val lines = mutableListOf<TempLine>() /** * Add a new line. * * @param line The [Line] */ fun addLine(line: Line) = apply { lines.add( TempLine( text = line.text, startMs = line.durationMs?.first, endMs = line.durationMs?.last, ) ) } /** * Add a new line. If necessary, end instant will be calculated from the other lines. * Loading