Add kugou as lyrics provider (#126)
This commit is contained in:
@@ -3,11 +3,8 @@ package it.vfsfitvnm.vimusic.utils
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableStateOf
|
||||
import androidx.compose.runtime.setValue
|
||||
import it.vfsfitvnm.synchronizedlyrics.parseSentences
|
||||
|
||||
class SynchronizedLyrics(text: String, private val positionProvider: () -> Long) {
|
||||
val sentences = parseSentences(text)
|
||||
|
||||
class SynchronizedLyrics(val sentences: List<Pair<Long, String>>, private val positionProvider: () -> Long) {
|
||||
var index by mutableStateOf(currentIndex)
|
||||
private set
|
||||
|
||||
|
||||
Reference in New Issue
Block a user