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 app/src/main/java/org/lineageos/twelve/ui/views/SortingChip.kt +2 −0 Original line number Diff line number Diff line Loading @@ -44,9 +44,11 @@ class SortingChip @JvmOverloads constructor( init { setChipBackgroundColorResource(R.color.e_floating_background_variant) val chipContentColor = context.getColor(R.color.e_primary_text_color) chipStrokeWidth = 0f setText(R.string.sort_by_unknown) setTextColor(chipContentColor) setCloseIcon(R.drawable.ic_arrow_drop_down) 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
app/src/main/java/org/lineageos/twelve/ui/views/SortingChip.kt +2 −0 Original line number Diff line number Diff line Loading @@ -44,9 +44,11 @@ class SortingChip @JvmOverloads constructor( init { setChipBackgroundColorResource(R.color.e_floating_background_variant) val chipContentColor = context.getColor(R.color.e_primary_text_color) chipStrokeWidth = 0f setText(R.string.sort_by_unknown) setTextColor(chipContentColor) setCloseIcon(R.drawable.ic_arrow_drop_down) Loading