Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b93c6c04 authored by Inhishonor's avatar Inhishonor Committed by Luca Stefani
Browse files

Twelve: Remove unused function

Change-Id: I92f894627cd12c7c5e547b02bba5bc730e750e32
parent 10535cc0
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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.
         *